{"extended":{"hasExtended":true,"docs":"
setPrimaryKeys(property) <!--- In `models/Subscription.cfc`, define the primary key as composite of the columns `customerId` and `publicationId` --->\n<cffunction name="init">\n <cfset setPrimaryKeys("customerId,publicationId")>\n</cffunction>"},"hint":"Alias for setPrimaryKey(). Use this for better readability when you're setting multiple properties as the primary key.","returntype":"","slug":"setprimarykeys","parameters":[{"default":"","required":"Yes","hint":"Property (or list of properties) to set as the primary key.","name":"property","type":"string"}],"name":"setPrimaryKeys","availableIn":{},"tags":{"categoryClass":"","sectionClass":"","category":"","section":""}}