schemaMultiPk top-level constant
CollectionSchema
const schemaMultiPk
Implementation
const schemaMultiPk = CollectionSchema(
tableNameMultiPK,
properties: [
PropertySchema(
"first_name",
type: PropertyType.text,
primaryKey: true,
nullable: false,
),
PropertySchema(
"last_name",
type: PropertyType.text,
primaryKey: true,
nullable: false,
),
],
);