Expand description
Parsing for the model-level @@id([...]) composite-primary-key
attribute (Prisma’s spelling). Mirrors crate::events::parse_emit_attribute’s
shape: syntax parsing lives here in cratestack-core so both the
parser’s semantic checker and any other consumer share one
implementation. The bracketed-field-list syntax itself is shared
with @@unique([...]) — see [super::field_list].
Functions§
- parse_
composite_ id_ attribute - Parses
@@id([field1, field2, ...])into its ordered list of local field names. Callers are responsible for checking that each name resolves to a real scalar field on the model.