Both PK and regular indexing should be able to be multi-part
Markdown from original text follows:
If the "doc" section of a field contains the text #INDEX=, the string after the = up to the next whitespace will be the index name.
If more than one field has the same #INDEX= value, then that will be a composite index. Composite order will be based on order of appearance in the schema (specifically based on field.pos())
AND
As with multi-part keys, if more than one key has #PRIMARY #INDEX=xxxx specified, then the primary key will be composite based on field position.
Depends on #3.
Both PK and regular indexing should be able to be multi-part
Markdown from original text follows:
If the
"doc"
section of a field contains the text#INDEX=
, the string after the=
up to the next whitespace will be the index name.If more than one field has the same
#INDEX=
value, then that will be a composite index. Composite order will be based on order of appearance in the schema (specifically based onfield.pos()
)AND
As with multi-part keys, if more than one key has
#PRIMARY #INDEX=xxxx
specified, then the primary key will be composite based on field position.