@itsaorg/dbms-base
    Preparing search index...

    Class DbmsIndexAbstract

    An index over one or more fields.

    💡 Pass the key fields to super from your subclass constructor.

    import { DbmsIndex } from "@itsaorg/dbms-base";

    class ByTitle extends DbmsIndex {
    constructor() {
    super(["title"]);
    }
    }

    Implements

    Index
    • Records the index key.

      Parameters

      • fields: readonly string[]

        Field names from the first key part to the last.

      Returns DbmsIndex

    fields: readonly string[]

    Field names that form the index key.