3 ms·
Might give it a whirl. Is the library pure sql or is it written in something else?
by nbbaier 2y ago
Might give it a whirl. Is the library pure sql or is it written in something else?
- veggieroll 2y agoI've been using Go with Goqu [1] for SQL for a lot of things lately. But, the language shouldn't matter much. The functions are just building the appropriate SQL clauses. For some of the operations, the method I was using required marshaling the inputs to JSON before sending them over the wire. And that's nicer in a non SQL programming language. But both db's ultimately do have json_build_array/json_build_object for PostgreSQL or json_array/json_object for SQLite3. [1] https://github.com/doug-martin/goqu https://github.com/doug-martin/goqu