smart-sqlite3-filter
    Preparing search index...

    Interface BuildWhereOptions

    interface BuildWhereOptions {
        defaultFields?: string[];
        fieldsAliases?: Record<string, string[]>;
        logger?: Logger;
        tableName?: string;
    }
    Index

    Properties

    defaultFields?: string[]

    In which fields to search. If not provided all fields will be searched.

    fieldsAliases?: Record<string, string[]>

    Aliases for the fields. If not provided the fields will be used as aliases It is possible to specify many fields in which the search will be performed

    logger?: Logger

    We can log more information about how queries are executed

    tableName?: string

    The name of the table the query targets. Required to read the schema, which decides how each field is compared (text / number / boolean / blob). If not provided and there is only one table in the database it will be used.