Skip to content

Query add .contains, .starts_with, .ends_with proof of concept#605

Draft
ElijahAhianyo wants to merge 2 commits into
masterfrom
elijah/like-query
Draft

Query add .contains, .starts_with, .ends_with proof of concept#605
ElijahAhianyo wants to merge 2 commits into
masterfrom
elijah/like-query

Conversation

@ElijahAhianyo

Copy link
Copy Markdown
Contributor

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 C-lib Crate: cot (main library crate) C-macros Crate: cot-macros labels Jul 2, 2026
@github-actions

github-actions Bot commented Jul 2, 2026

Copy link
Copy Markdown

🐰 Bencher Report

Branchelijah/like-query
Testbedgithub-ubuntu-latest
Click to view all benchmark results
BenchmarkLatencyBenchmark Result
milliseconds (ms)
(Result Δ%)
Upper Boundary
milliseconds (ms)
(Limit %)
empty_router/empty_router📈 view plot
🚷 view threshold
6.74 ms
(+6.87%)Baseline: 6.31 ms
7.73 ms
(87.24%)
json_api/json_api📈 view plot
🚷 view threshold
1.12 ms
(+2.64%)Baseline: 1.09 ms
1.32 ms
(85.35%)
nested_routers/nested_routers📈 view plot
🚷 view threshold
1.05 ms
(+3.47%)Baseline: 1.02 ms
1.19 ms
(88.16%)
single_root_route/single_root_route📈 view plot
🚷 view threshold
1.00 ms
(+2.53%)Baseline: 0.98 ms
1.16 ms
(86.74%)
single_root_route_burst/single_root_route_burst📈 view plot
🚷 view threshold
17.28 ms
(-2.09%)Baseline: 17.65 ms
21.13 ms
(81.78%)
🐰 View full continuous benchmarking report in Bencher

@codecov

codecov Bot commented Jul 2, 2026

Copy link
Copy Markdown

Codecov Report

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

Files with missing lines Patch % Lines
cot-macros/src/query.rs 0.00% 58 Missing ⚠️
cot/src/db/query.rs 0.00% 47 Missing ⚠️
Flag Coverage Δ
rust 89.83% <0.00%> (-0.43%) ⬇️

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

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

@seqre seqre changed the title Query add .contains, .starts_with, .ends_with` proof of concept Query add .contains, .starts_with, .ends_with proof of concept Jul 2, 2026
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) C-macros Crate: cot-macros

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant