wispem-wantex
  • Joined on 2025-05-31
wispem-wantex created branch wispem/codetables in offline-labs/gas-stack 2026-03-20 06:49:30 +00:00
wispem-wantex pushed to wispem/codetables at offline-labs/gas-stack 2026-03-20 06:49:30 +00:00
01e37a0e07 TMP: codetables
f8664ed514 schema: split 'column', 'index' and 'schema' into separate files from 'table'
Compare 2 commits »
wispem-wantex pushed to master at offline-labs/gas-stack 2026-03-19 22:44:22 +00:00
8c29d455ff codegen: fix defining the 'err' variable multiple times in foreign key checking test
0f9a57dd85 codegen: fix more hardcoded "item" names in generated test file
11fed4b9c7 refactor: create CamelToPascal string helper
Compare 3 commits »
wispem-wantex pushed to master at offline-labs/gas-stack 2026-03-18 20:55:22 +00:00
4e0836eb2e codegen: fix test generator hardcoding test string in multiple places
wispem-wantex pushed to master at offline-labs/gas-stack 2026-03-18 18:00:45 +00:00
f82929f6e2 style: remove unused fmtErrorf var
wispem-wantex pushed to master at offline-labs/gas-stack 2026-03-18 17:41:27 +00:00
1bc7f9111f codegen: implement "without rowid" tables
wispem-wantex pushed to master at offline-labs/gas-stack 2026-03-16 18:45:31 +00:00
c1150954e5 doc: update README
wispem-wantex pushed to master at offline-labs/gas-stack 2026-03-16 18:39:01 +00:00
fd90830340 doc: add README.md
wispem-wantex pushed to master at offline-labs/gas-stack 2026-03-04 01:56:24 +00:00
fcf266eb1d tests: add integration test for blob fields
29787b5521 fix: make codegen not fail for "blob" columns
Compare 2 commits »
wispem-wantex pushed to master at offline-labs/gas-stack 2026-02-23 05:58:14 +00:00
e53546a7f5 lint: fix several lll, wrapcheck, and copy-paste errors
wispem-wantex pushed to master at offline-labs/gas-stack 2026-02-23 05:46:46 +00:00
c09a2fe1fb tmp: grafana stuff
3e0a85fcfa codegen: add unique index lookup funcs
Compare 2 commits »
wispem-wantex pushed to master at offline-labs/gas-stack 2026-02-18 00:27:52 +00:00
d6426bba14 codegen: add ability to insert comments and blank lines into the generated code
wispem-wantex pushed to master at offline-labs/gas-stack 2026-02-15 22:49:56 +00:00
8ab21edae9 codegen: move generated test helpers to new 'db_test.go' file
wispem-wantex pushed to master at offline-labs/gas-stack 2026-02-15 22:20:47 +00:00
ee1d0a5ed7 codegen (refactor): move foreign key failure check lambda function generator to a helper func
wispem-wantex pushed to master at offline-labs/gas-stack 2026-02-15 22:10:34 +00:00
93b589d1b2 codegen (refactor): compress whitespace
b0d95c5948 codegen: skip generating ID type for "without rowid" tables
85d544152f schema: add PrimaryKeyColumns method to Table, useful for 'without rowid' tables
Compare 3 commits »
wispem-wantex pushed to master at offline-labs/gas-stack 2026-02-15 20:26:29 +00:00
5cbb657666 codegen: add helpers
b8a024a4b9 doc: remove completed auto-timestamp and fk check TODO items
Compare 2 commits »
wispem-wantex pushed to master at offline-labs/gas-stack 2026-02-15 07:21:15 +00:00
4cba2af670 codegen: more AST style improvements
wispem-wantex pushed to master at offline-labs/gas-stack 2026-02-15 06:58:09 +00:00
04676461ff doc: add TODOs
a36058fdbe codegen (refactor): clean up helpers a bit
f0c152cfe4 codegen: add auto-timestamp checking to generated tests
Compare 3 commits »
wispem-wantex pushed to master at offline-labs/gas-stack 2026-02-15 06:05:22 +00:00
5973a2a4b7 codegen: implement auto-timestamps for created_at and updated_at
wispem-wantex pushed to master at offline-labs/gas-stack 2026-02-08 06:30:24 +00:00
75b7662c34 lint: fix lll and imports