@photostructure/sqlite
    Preparing search index...

    Interface DatabasePoolOptions

    Options for DatabasePool.open.

    interface DatabasePoolOptions {
        allowExtension?: boolean;
        authorizer?: PoolAuthorizer;
        connections?: number;
        connectionSetup?: readonly PoolSetupOperation[];
        readBigInts?: boolean;
        returnArrays?: boolean;
    }
    Index
    allowExtension?: boolean

    If true, enable SQL extension loading for the duration of connectionSetup only; it is revoked before the connection is admitted to the pool. User operations can never call load_extension() in either authorizer mode.

    false
    
    authorizer?: PoolAuthorizer

    Whether user SQL may create connection-local state.

    "strict"
    
    connections?: number

    Number of physical SQLite connections to open. Multiple connections let reads overlap, but SQLite still permits only one writer at a time.

    In-memory and temporary databases are private to one connection, so :memory:, an empty location, and URI locations with mode=memory require exactly one.

    1
    
    connectionSetup?: readonly PoolSetupOperation[]

    Ordered statements run on every physical connection before open() resolves. Each must be safe to replay independently per connection, so use it for connection configuration rather than schema migrations. A failure rejects open() and closes every connection opened so far.

    []
    
    readBigInts?: boolean

    If true, return SQLite integers as bigint. With the default false, an integer outside the safe JavaScript range rejects the call rather than silently losing precision.

    false
    
    returnArrays?: boolean

    If true, return each row as an array of values instead of an object. Arrays preserve every column of a result that contains duplicate column names.

    false