Consistent naming with zcat ecosystem (zcatui, zcatgui, zcatsql).
All lowercase per Zig naming conventions.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Implementa todas las funcionalidades restantes de la paridad con go-sqlite3:
Callbacks y Hooks:
- Authorizer callback para control de operaciones SQL
- Pre-update hook con acceso a valores antes/despues del cambio
- Progress handler para interrumpir queries largos
- Busy handler personalizado (custom callback)
APIs adicionales:
- Limits API (getLimit/setLimit) para control de limites SQLite
- Column metadata extendida (columnDatabaseName, columnTableName, columnOriginName)
- Expanded SQL (stmt.expandedSql)
- Timestamp binding (bindTimestamp, bindCurrentTime) con formato ISO8601
Build:
- Habilitado SQLITE_ENABLE_PREUPDATE_HOOK en build.zig
- Definido @cDefine en @cImport para exponer APIs opcionales
Tests:
- Tests para authorizer, progress handler, limits, expanded SQL
- Tests para column metadata y pre-update hook
- Tests para timestamp binding
Documentacion actualizada con todos los nuevos APIs y ejemplos.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
New features:
- Blob I/O: Incremental read/write for large BLOBs
- Blob.open(), close(), deinit()
- Blob.read(), write() with offset support
- Blob.bytes(), reopen(), readAll()
- Hooks: Monitor database changes
- setCommitHook() - called on transaction commit
- setRollbackHook() - called on transaction rollback
- setUpdateHook() - called on INSERT/UPDATE/DELETE
- clearHooks() - remove all hooks
- UpdateOperation enum (insert, update, delete)
- Aggregate Functions: Custom multi-row aggregates
- createAggregateFunction(name, num_args, step_fn, final_fn)
- AggregateContext with getAggregateContext() for state management
- Support for setNull/Int/Float/Text/Blob/Error results
Documentation:
- Updated docs/API.md to v0.4 with new features and examples
- Updated docs/CGO_PARITY_ANALYSIS.md - Fase 3A marked complete
- Updated CLAUDE.md to v0.4 with all new implementations
Tests: 28 total (8 new tests for Fase 3A features)
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>