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

dal-go / dalgo2sql / 37239718246
100%

Build:
DEFAULT BRANCH: main
Ran 04 Oct 2026 10:22PM UTC
Jobs 1
Files 23
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 10:21PM UTC coverage: 100.0%. Remained the same
37239718246

push

github

web-flow
fix(sql): refuse unsafe collection, field and primary-key names in key reads and writes (#210)

Source commits:

- df9ef6226256 fix(sql): refuse unsafe collection, field and primary-key names in key reads and writes
  Every statement the adapter builds for key reads and writes (exists, get,
  get-multi, insert, set, update, delete and their multi forms) formatted its
  collection, recordset, field and primary-key names into the SQL text with no
  validation and no quoting. Values were bound, names were not.
  One helper, DbOptions.sqlIdentifier, now decides how a name may enter SQL text:
  - no dialect, or a dialect without reviewed quoting: the name must match the
  plain-identifier rule (^[A-Za-z_][A-Za-z0-9_]*$) and is written as given, so
  the statement text of every plain name is byte-identical to before;
  - StructuredQueryDialect "sqlite": the name must be non-empty, free of control
  characters and invalid UTF-8, and at most 255 bytes, and is written in
  backticks with the quote character doubled.
  A refused name returns an error wrapping the new exported ErrUnsafeName that
  names the position (collection, field, primary key) and shows at most 32
  characters of the name; no statement is sent. A nested key's recordset name is
  validated per segment before the segments are joined. Writes and batches check
  every name before their first statement, GetMulti reports a refusal as its error
  and on the records, and placeholders are numbered where they are written so a
  quoted name holding a question mark is never rewritten.
  Delivers plan SQL-0W.
- 0ab14f69942d fix(sql)!: refuse names that carry their own quoting, bound plain names, check whole batches
  Address review r1 of the key-path name guard:
  - State the break: a name carrying its own quoting ("Order Details" with the
  quote characters, [Order Details], `x`) no longer acts as a quoted
  identifier. Under the sqlite dialect it is one literal name; without a
  dialect it is refused.... (continued)

270 of 270 new or added lines in 7 files covered. (100.0%)

3046 of 3046 relevant lines covered (100.0%)

1.0 hits per line

Jobs
ID Job ID Ran Files Coverage
1 37239718246.1 04 Oct 2026 10:22PM UTC 23
100.0
GitHub Action Run
Source Files on build 37239718246
  • Tree
  • List 23
  • Changed 7
  • Source Changed 0
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • d20098fe on github
  • Prev Build on main (#37239148496)
  • Next Build on main (#37241392277)
  • 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