@wxn0brp/db-core
    Preparing search index...

    Type Alias IdGen

    IdGen: (
        data: Data[],
        collection: string,
        adapter: AdapterBase,
        transaction?: TransactionHandle,
    ) => Id[] | Promise<Id[]>

    Custom ID generator. Receives only records without the ID key set and returns generated IDs in the same order.

    Type Declaration