• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

dal-go / dalgo2sql / 37242485188
100%

Build:
DEFAULT BRANCH: main
Ran 04 Oct 2026 11:06PM UTC
Jobs 1
Files 26
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

04 Oct 2026 11:05PM UTC coverage: 100.0%. Remained the same
37242485188

push

github

web-flow
feat(typed-sql): add the typed SQL compiler core and dialect interface (#206)

Source commits:

- 30cccbf561ad feat(typed-sql): add the typed SQL compiler core and dialect interface
  Pure compileTypedSQL(q, dialect, facts) for statically typed SQL engines,
  with an unexported typedDialect interface, catalog facts and a final
  placeholder numbering pass that skips quoted identifiers. Every value is a
  bound argument and every identifier is validated and quoted, so the SQL text
  never depends on a value. Unsupported nodes return errors matching
  dal.ErrNotSupported. Not wired into the readers yet (SQL-04).
- 02015cf57b99 fix(typed-sql): refuse what a join cannot honour and enforce the dialect contract
  Review round 1 of the typed SQL compiler.
  - A scan-bounded or named-database source inside a join is refused with
  ErrNotSupported instead of being rendered as the whole local table; a lone
  source keeps working because the generic join restates its scan as ORDER BY
  and LIMIT.
  - ORDER BY over a grouped, constant-carrying alias nested in a larger
  expression is refused as HAVING already refuses it (one alias rewriter per
  ORDER BY item; only for statements with a GROUP BY).
  - dal.DocumentID() is refused until it is mapped to the primary key; dal.ID
  keeps naming a real column.
  - The argument limit is checked per statement, not per IN list.
  - Ordinal references compare expressions structurally with constants of the
  same kind and content, not by String().
  - The dialect contract states the operand count/order rule and the
  no-literal/no-comment rule, and the compiler enforces both on every
  fragment; the numbering pass refuses string literals and comments.
  - compileTypedSQL documents exactly what the text depends on.
  - The value-independence proof is a helper that takes a typedDialect; a
  generated test covers two independently drawn constants.
  - Goldens for the journey statement, an aggregate argument with a constant and
... (continued)

881 of 881 new or added lines in 3 files covered. (100.0%)

3926 of 3926 relevant lines covered (100.0%)

1.0 hits per line

Jobs
ID Job ID Ran Files Coverage
1 37242485188.1 04 Oct 2026 11:06PM UTC 26
100.0
GitHub Action Run
Source Files on build 37242485188
  • Tree
  • List 26
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • c3f67fc7 on github
  • Prev Build on main (#37241392277)
  • Next Build on main (#37245214803)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc