prorm API Reference
    Preparing search index...

    Interface GraphPropertyDefinition

    Property/attribute definition for a node or edge model (schemaless-friendly).

    interface GraphPropertyDefinition {
        type?: string;
        unique?: boolean;
        index?: boolean;
        required?: boolean;
        primaryKey?: boolean;
    }
    Index
    type?: string
    unique?: boolean
    index?: boolean
    required?: boolean
    primaryKey?: boolean