mirror of
https://github.com/hanzoai/captable.git
synced 2026-11-23 05:49:38 +00:00
The bundle's statements were SQLite's: ? placeholders, and camelCase
aliases that PostgreSQL folds to lower case. hanzoai/cloud now keeps a
tenant's cap table in a schema of hanzo-sql as well as in a file, and
runs one bundle on both, so the SQL is the dialect they share.
Placeholders are $n in the order they first appear; an alias that has a
capital is quoted; a SUM that is scanned as an integer is cast to
BIGINT; the stakeholder patch numbers its marks as it writes them and
takes a string for a text column. exec answers {changes} only: there is
no last id on PostgreSQL, and the bundle never read one.
Version 0.1.1.
Claude-Session: https://claude.ai/code/session_015XYKLnBbrbajqj1GpRydF8