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

huandu / go-sqlbuilder
95%
master: 96%

Build:
Build:
LAST BUILD BRANCH: fix-issue-187
DEFAULT BRANCH: master
Repo Added 30 Dec 2017 04:59PM UTC
Files 20
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

LAST BUILD ON BRANCH fix-issue-187
branch: SELECT
CHANGE BRANCH
x
  • No branch selected
  • add-fuzzer
  • bug-postgresql-interpolate-string
  • chore-oralce-select-offset-fetch
  • delete-redundant-code
  • feature-create-table
  • feature-interpolate
  • feature-omit-empty
  • feature-quote-field
  • feature-replace-into
  • feature-simplify-ci-script
  • feature-sql-injection
  • feature-struct-SelectFrom-add-table-name-as-col-prefix
  • feature-write-dollar-sign-on-syntax-error
  • feature/copy-builder
  • feature/limit-offset-using-args
  • feature/prevent-syntax-error-with-zero-values
  • feature/returning-clause-issue-210
  • feature/returning-id
  • fix-issue-187
  • fix-oracle-limit
  • fix-oralce-limit
  • fix-presto-limit-and-offset-order
  • fix/243-clickhouse-float-literal
  • fix/flavor-quote-escaping
  • fix/improve-error-context
  • fix/interpolate-quote-escaping
  • fix/sqlite-millis-round
  • fix/sqlite-strings
  • issue-dont-escape-by-default
  • master
  • nil-pointer-deref
  • return-sqlserver
  • union-support-limit
  • v1.0.0
  • v1.1.0
  • v1.10.0
  • v1.11.0
  • v1.2.0
  • v1.3.0
  • v1.4.1
  • v1.4.2
  • v1.5.0
  • v1.5.1
  • v1.5.2
  • v1.6.0
  • v1.7.0
  • v1.8.0
  • v1.9.0
  • v1.9.1
  • v1.9.2

05 Oct 2026 02:06PM UTC coverage: 95.043% (-1.1%) from 96.17%
37322277940

Pull #248

github

AdamMagued
Support child slice and slice pointer fields in Struct

Add support for expanding slice fields in Struct mappings to model one-to-many joined relations. Update Struct.Addr and Struct.Values to handle slice and slice pointer elements dynamically during row scanning and writing. Introduce SliceFields and SliceColumns for inspecting projected slice fields, PruneEmptySliceElements for removing empty rows produced by LEFT JOIN queries, and ScanJoined / ScanJoinedWithCols for aggregating child records across multi-row result sets.
Pull Request #248: Support child slice and slice pointer fields in Struct mappings

218 of 279 new or added lines in 2 files covered. (78.14%)

2 existing lines in 2 files now uncovered.

4218 of 4438 relevant lines covered (95.04%)

1.08 hits per line

Relevant lines Covered
Build:
Build:
4438 RELEVANT LINES 4218 COVERED LINES
1.08 HITS PER LINE
Source Files on master
  • Tree
  • List 20
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
37322277940 fix-issue-187 Support child slice and slice pointer fields in Struct Add support for expanding slice fields in Struct mappings to model one-to-many joined relations. Update Struct.Addr and Struct.Values to handle slice and slice pointer elements dynamically du... Pull #248 15 Oct 2026 01:07PM UTC AdamMagued github
95.04
37211512729 master Merge pull request #247 from SashaMIT/fix/sqlite-millis-round fix: round SQLite and Presto timestamps to the millisecond they print push 04 Oct 2026 03:03PM UTC web-flow github
96.17
37069390066 fix/sqlite-millis-round fix: round SQLite and Presto timestamps to the millisecond they print Half a millisecond was truncated, so 12:23:34.9995 was printed as 12:23:34.999. Pull #247 04 Oct 2026 02:56PM UTC SashaMIT github
96.17
32481656256 master Merge fix: escape identifier delimiters in Flavor.Quote Merges the identifier quoting SQL injection fix after passing CI. push 21 Aug 2026 12:23PM UTC web-flow github
96.17
32481607145 master Merge fix: escape ANSI interpolation string literals Merges the interpolation SQL injection fix after passing CI. push 21 Aug 2026 12:23PM UTC web-flow github
96.17
32481500047 fix/interpolate-quote-escaping fix: escape ANSI interpolation string literals Pull #246 21 Aug 2026 12:22PM UTC huandu github
96.17
32481500587 fix/flavor-quote-escaping fix: escape identifier delimiters in Flavor.Quote Pull #245 21 Aug 2026 12:22PM UTC huandu github
96.2
32472921673 master Merge pull request #244 from youdie006/fix/243-clickhouse-float-literal Interpolate: keep ClickHouse whole-number floats and non-finite values typed correctly push 21 Aug 2026 10:30AM UTC web-flow github
96.2
32086299391 fix/243-clickhouse-float-literal Interpolate: keep ClickHouse whole-number floats and non-finite values typed correctly In encodeValue the Float32/Float64 cases rendered floats with strconv.AppendFloat(..., 'g', -1, N) and ignored flavor, unlike the adjacent flavor-aware String/... Pull #244 21 Aug 2026 10:29AM UTC youdie006 github
96.2
27905556377 master fix: restore module path and retract v1.42.0 v1.42.0 was published with an incorrect module path (github.com/webdaad/go-sqlbuilder) accidentally introduced by PR #239. Restore the correct path (github.com/huandu/go-sqlbuilder) and add a retract d... push 21 Jun 2026 01:17PM UTC huandu github
96.18
See All Builds (236)
  • Repo on GitHub
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