Set multiple fields as primary key creates composite primary key, for example:
type Product struct { |
Note integer PrioritizedPrimaryField
enables AutoIncrement
by default, to disable it, you need to turn off autoIncrement
for the int fields:
type Product struct { |