def db.open

bend-kit-sqlite@0.1.0.1 · sqlite.bend:4

import bend-kit-sqlite@0.1.0.1/sqlite.bend as Sqlite
import Base

4# Handles are opaque U32 IDs. Close each database after finalizing all its statements.
5# Every effect returns (SQLite error code, message) on failure.
6# BEND_LIBSQLITE selects a custom libsqlite3 path.
7def db.open(path: String) -> IO(Result<&1, &1, U32 & String, U32>):
8  import "./effs/sqlite.c"
9  import "./effs/sqlite.js"

Uses (5)

Used by (1)