StackpressGitHub

API reference

stackpress/sqlite

stackpress/sqlite is the SQLite-specific SQL subpath. It combines the shared SQL builders and helpers with SQLite connection helpers exposed through the Stackpress public surface.

Import

import { Sqlite, BetterSqlite3Connection, connect } from 'stackpress/sqlite';

When To Use It

Use this path when you need SQLite-specific connection or dialect behavior instead of only the shared stackpress/sql surface.

Export Inventory

ExportKindPurpose
SqliteclassSQLite dialect class
BetterSqlite3ConnectionclassSQLite connection wrapper
connectfunctionCreate a SQLite-backed connection
shared SQL builders and helpersclasses/functionsSame builder surface as stackpress/sql

Detailed Exports

Sqlite

  • Kind: class
  • Use it when you need the SQLite dialect class directly.
import { Sqlite } from 'stackpress/sqlite';

BetterSqlite3Connection

  • Kind: class
  • Use it when working with the SQLite connector layer exposed through Stackpress.
import { BetterSqlite3Connection } from 'stackpress/sqlite';

connect

  • Kind: function
  • Use it to create a SQLite-backed Stackpress SQL connection.
  • Returns a SQLite-compatible connection object.
import { connect } from 'stackpress/sqlite';