Files
zeekay a06adadea4 Add db package with SQLite driver
Multi-layer database abstraction (DB, Key, Query, Iterator, Transaction
interfaces) with full SQLite implementation: WAL mode, JSON entity storage,
json_extract filters with PascalCase-to-camelCase conversion, COALESCE for
boolean fields, sqlite-vec vector search, multi-tenant manager, and
21 tests covering CRUD, queries, filters, transactions, and batch ops.
2026-02-23 16:19:02 -08:00

8 lines
167 B
Go

package db
import "time"
// timeNow is a function that returns the current time.
// It can be overridden in tests for deterministic behavior.
var timeNow = time.Now