function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Mohan SMohan S 

Support for composite keys

I'm coming from relational back ground.  I think Salesforce doesn't support composite keys.  I remember seeing a very long forum discussion about whether we really need composite key or not in object oriented approach.  Is there a standard alternative in object oriented approach or is there any work around in Salesforce?
 
Appreciate your help!
 
Thanks in advance.
 
Mohan.
werewolfwerewolf
What is it exactly that you want to accomplish?
Mohan SMohan S
For example I want to keep Item ID and Item Version # as composite primary key for Items table.  Another instance is while creating intersection (junction) objects in a many-to-many releationship.
 
Another question: Is there a way to make Record Name field unique?