Primary key

How to identify a primary key in a table in mendix domain model ?
1 answers

Hi Umesh,

You can't see the primary key in the domainmodel. In order to see the keys, you have two options:

  1. Use a query on your database to see the ID
  2. Use the debugger to see the ID of a specific object.


Alternatively, you can set an autonumber attribute as an alternative to the unique ID which is visible in the domainmodel.

Hope this helps!