Back
setPrimaryKeys()
Alias for setPrimaryKey()
.
Use this for better readability when you're setting multiple properties as the primary key.
// In `models/Subscription.cfc`, define the primary key as composite of the columns `customerId` and `publicationId`.
function config(){
setPrimaryKeys("customerId,publicationId");
}
Copied!