Skip to content

Unique composite index example is NOTUNIQUE #373

@indolering

Description

@indolering

In the indicies section of Schema.md, the example creates a NOTUNIQUE index but the descriptive text states that it creates a unique composite index:

You can also constrain a group of properties as unique by creating a composite index made from multiple fields. For instance,

profile.createIndex("compositeIdx", OClass.INDEX_TYPE.NOTUNIQUE, "name", "surname");

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions