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

ingitdb / ingitdb-cli / 22923947782
96%

Build:
DEFAULT BRANCH: main
Ran 10 Mar 2026 08:57PM UTC
Jobs 1
Files 85
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

10 Mar 2026 08:57PM UTC coverage: 94.739% (-2.3%) from 97.038%
22923947782

push

github

trakhimenok
feat(query): implement query command with filtering, ordering, and output formats

Implements the full `ingitdb query` command as specified in spec/plans/query-command-prd.md:

- Flags: --collection/-c, --fields/-f, --where/-w (repeatable), --order-by, --format, --path
- Formats: csv (default), json, yaml, md — case-insensitive
- WHERE: >=, <=, >, <, ==, = operators; numeric values with commas (1,000,000) stripped before parsing
- ORDER BY: comma-separated fields, prefix - for descending
- Complex fields (maps, slices) are JSON-encoded in CSV cells
- Backend: ExecuteQueryToRecordsReader in pkg/dalgo2fsingitdb reads all records,
  applies WHERE/ORDER BY/LIMIT in-memory, returns slice-backed RecordsReader

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

400 of 566 new or added lines in 7 files covered. (70.67%)

6123 of 6463 relevant lines covered (94.74%)

1.12 hits per line

Uncovered Changes

Lines Coverage ∆ File
131
50.94
pkg/dalgo2fsingitdb/tx_query.go
18
80.65
cmd/ingitdb/commands/query_output.go
13
88.7
-11.3% cmd/ingitdb/commands/query.go
3
81.25
pkg/dalgo2fsingitdb/slice_records_reader.go
1
98.82
cmd/ingitdb/commands/query_parser.go
Jobs
ID Job ID Ran Files Coverage
1 22923947782.1 10 Mar 2026 08:57PM UTC 85
94.74
GitHub Action Run
Source Files on build 22923947782
  • Tree
  • List 85
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 53d1764d on github
  • Prev Build on main (#22840110800)
  • Next Build on main (#22924334502)
  • 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