Skip to content

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

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

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

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 (🔔)
9.93 ms
(+54.25%)Baseline: 6.44 ms
8.97 ms
(110.80%)

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 (🔔)
9,933.80 µs
(+54.25%)Baseline: 6,440.06 µs
8,965.58 µs
(110.80%)

json_api/json_api📈 view plot
🚷 view threshold
786.80 µs
(-28.26%)Baseline: 1,096.72 µs
1,318.43 µs
(59.68%)
nested_routers/nested_routers📈 view plot
🚷 view threshold
756.04 µs
(-25.79%)Baseline: 1,018.75 µs
1,195.16 µs
(63.26%)
single_root_route/single_root_route📈 view plot
🚷 view threshold
727.01 µs
(-25.95%)Baseline: 981.73 µs
1,159.23 µs
(62.71%)
single_root_route_burst/single_root_route_burst📈 view plot
🚷 view threshold
12,870.00 µs
(-27.10%)Baseline: 17,655.39 µs
21,126.64 µs
(60.92%)
🐰 View full continuous benchmarking report in Bencher

@codecov

codecov Bot commented Jul 11, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 0% with 40 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
cot/src/db.rs 0.00% 26 Missing ⚠️
cot/src/db/sea_query_db.rs 0.00% 14 Missing ⚠️
Flag Coverage Δ
rust 90.08% <0.00%> (-0.18%) ⬇️

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

Files with missing lines Coverage Δ
cot/src/db/sea_query_db.rs 86.29% <0.00%> (-10.99%) ⬇️
cot/src/db.rs 83.68% <0.00%> (-3.15%) ⬇️
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

C-lib Crate: cot (main library crate)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant