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

    Interface DbmsIndexInterface

    Fields used to look a record up.

    💡 The list is the index key, from the first field to the last.

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

    function keyOf(index: DbmsIndexInterface): readonly string[] {
    return index.fields;
    }
    interface DbmsIndexInterface {
        fields: readonly string[];
    }

    Implemented by

    Index
    fields: readonly string[]

    Field names that form the index key.