packages/binding/odin-sqlite3
o

odin-sqlite3

v3721908binding

Inspired by https://github.com/saenai255/odin-sqlite3 bindings

0 stars0 forksUnknownupdated 10 hours ago
Open repo

Odin SQLite

Root package provides typed SQLite helpers:

import sqlite "vendor/sqlite"
  • open and open_with_flags open connections.
  • execute runs statements with typed Query_Param values.
  • query fills tagged structs into dynamic arrays.
  • prepare and read_all_rows support manual statement ownership.

Query results own cloned strings and blobs. Delete those fields, then delete the result array after use.

Raw C bindings live in vendor/sqlite/raw:

import sqlite_raw "vendor/sqlite/raw"

Use SQLITE_LINK=shared, static, or system to select the library. Build scripts clone the official sqlite/sqlite source into the ignored sqlite/ checkout, generate the amalgamation there, and produce platform-specific artifacts. No SQLite C source is tracked in this repository.

Package Info
Version
v3721908
License
Unknown
Author
@catermujo
Type
binding
Forks
0
Created
1 day ago
Updated
10 hours ago
Health
maintained
has releases
has readme
has license
Activity
last 56 weeks