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

dal-go / dalgo2sql / 25912606450
89%

Build:
DEFAULT BRANCH: main
Ran 15 May 2026 10:17AM UTC
Jobs 1
Files 17
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

15 May 2026 10:16AM UTC coverage: 74.508% (-0.8%) from 75.346%
25912606450

push

github

trakhimenok
feat(dalgo2sql): emit ANSI/SQLite-compatible LIMIT N instead of T-SQL TOP N

Adds sqlite_emit.go with an emitSQL(q) shim that rewrites dalgo's
"SELECT TOP N" prefix into a trailing "LIMIT N" clause. reader_base.go
calls emitSQL() instead of q.String() directly when handling
StructuredQuery, so SQLite (and PostgreSQL/MySQL) accept the SQL
without local rewrites in callers.

Stopgap until upstream dalgo gains dialect-aware emission — tracked
under the `dalgo-dialect-aware-sql-emission` Idea in
dal-go/dalgo/spec/ideas/. The shim disappears once that lands.

Triggered by datatug-cli's db-copy filtering Feature (Task 7
--limit support against SQLite Chinook fixture).

0 of 14 new or added lines in 2 files covered. (0.0%)

871 of 1169 relevant lines covered (74.51%)

0.86 hits per line

Uncovered Changes

Lines Coverage ∆ File
9
0.0
sqlite_emit.go
5
59.09
-5.91% reader_base.go
Jobs
ID Job ID Ran Files Coverage
1 25912606450.1 15 May 2026 10:17AM UTC 17
74.51
GitHub Action Run
Source Files on build 25912606450
  • Tree
  • List 17
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 8ed03526 on github
  • Prev Build on main (#25859506714)
  • Next Build on main (#25912671784)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc