Type Alias SqlJsAdapterOptions

SqlJsAdapterOptions: SqlJsConfig & {
    segment?: string;
}

sql.js's own configuration (locateFile and the rest), and the adapter's segment.

Type declaration

  • Optionalsegment?: string

    A database file of its own: the segment goes into the name of the file open({ filePath }) names, before its extension (app.sqlite3 becomes app-agentos.sqlite3). An in-memory database is its own already.