db top-level property
Database
db
latefinal
origin: kt_ifm_gtid_mob/lib/db.dart (generic helpers portion) union-of: simlpu_mob/lib/db.dart (databaseCreateUpdate) author: anovsiradj, opencode-go/glm-5.2 version: 2025-03-04, revised: 2026-08-17
Generic sqflite CRUD helpers. Call dbInit once at bootstrap.
dbCreateUpdate merges existing row with new contents then INSERT OR REPLACE (Laravel-style upsert).
dbAll/dbOne query with rowid, * columns.
dbCleanObjek strips non-table fields (Uint8List kept, Map/List dropped).
Implementation
late final Database db;