mirror of
https://github.com/hanzoai/orm.git
synced 2026-10-30 15:01:22 +00:00
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.
8 lines
167 B
Go
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
|