Versions 2 to 318
new file, 46 lines
3+
13+ "CREATE TABLE IF NOT EXISTS state (collection TEXT, key TEXT, value TEXT, PRIMARY KEY(collection,key))",
18+ const row = this.db.prepare("SELECT value FROM state WHERE collection = ? AND key = ?").get(collection, key);
23+ this.db.prepare("INSERT OR REPLACE INTO state VALUES (?, ?, ?)").run(collection, key, JSON.stringify({ value }));
- MCP
- compare on this site's /mcp
- CLI
- abso diff 2 318 src/engine/test/storage-helper.ts --json
- JSON
- /christopher/abso-core/compare/2..318?file=src%2Fengine%2Ftest%2Fstorage-helper.ts&format=json