Skip to content

feat(orm): add an escape hatch for raw SELECT queries#609

Open
m4tx wants to merge 1 commit into
masterfrom
db-fetch-raw
Open

feat(orm): add an escape hatch for raw SELECT queries#609
m4tx wants to merge 1 commit into
masterfrom
db-fetch-raw

Conversation

@m4tx

@m4tx m4tx commented Jul 11, 2026

Copy link
Copy Markdown
Member

Related issue or discussion

Description

Type of change

  • Bug fix
  • New feature
  • Documentation
  • Refactor / cleanup
  • Performance improvement
  • Other (describe above)

Checklist

  • I've read the contributing guide
  • Tests pass locally (just test-all)
  • Code passes clippy (just clippy)
  • Code is properly formatted (cargo fmt)
  • New tests added (regression test for bugs, coverage for new features)
  • Documentation (both code and site) updated (if applicable)

@github-actions github-actions Bot added the C-lib Crate: cot (main library crate) label Jul 11, 2026
@github-actions

github-actions Bot commented Jul 11, 2026

Copy link
Copy Markdown

🐰 Bencher Report

Branchdb-fetch-raw
Testbedgithub-ubuntu-latest

🚨 1 Alert

BenchmarkMeasure
Units
ViewBenchmark Result
(Result Δ%)
Upper Boundary
(Limit %)
empty_router/empty_routerLatency
milliseconds (ms)
📈 plot
🚷 threshold
🚨 alert (🔔)
12.53 ms
(+74.03%)Baseline: 7.20 ms
12.44 ms
(100.66%)

Click to view all benchmark results
BenchmarkLatencyBenchmark Result
microseconds (µs)
(Result Δ%)
Upper Boundary
microseconds (µs)
(Limit %)
empty_router/empty_router📈 view plot
🚷 view threshold
🚨 view alert (🔔)
12,526.00 µs
(+74.03%)Baseline: 7,197.60 µs
12,444.13 µs
(100.66%)

json_api/json_api📈 view plot
🚷 view threshold
1,014.10 µs
(-6.56%)Baseline: 1,085.34 µs
1,356.58 µs
(74.75%)
nested_routers/nested_routers📈 view plot
🚷 view threshold
958.56 µs
(-5.11%)Baseline: 1,010.17 µs
1,234.37 µs
(77.66%)
single_root_route/single_root_route📈 view plot
🚷 view threshold
916.51 µs
(-5.84%)Baseline: 973.36 µs
1,197.97 µs
(76.51%)
single_root_route_burst/single_root_route_burst📈 view plot
🚷 view threshold
17,959.00 µs
(+3.00%)Baseline: 17,435.47 µs
21,528.99 µs
(83.42%)
🐰 View full continuous benchmarking report in Bencher

@codecov

codecov Bot commented Jul 11, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 95.23810% with 1 line in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
cot/src/db.rs 95.23% 0 Missing and 1 partial ⚠️
Flag Coverage Δ
rust 90.29% <95.23%> (+0.03%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
cot/src/db.rs 88.20% <95.23%> (+1.37%) ⬆️

... and 1 file with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@github-actions github-actions Bot added the A-docs Area: Documentation label Jul 17, 2026
@m4tx
m4tx marked this pull request as ready for review July 17, 2026 15:27
@m4tx
m4tx requested review from a team and Copilot and removed request for Copilot July 17, 2026 15:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-docs Area: Documentation C-lib Crate: cot (main library crate)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant