Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add search dsl #72

Merged
merged 1 commit into from
Sep 28, 2023
Merged

Add search dsl #72

merged 1 commit into from
Sep 28, 2023

Conversation

dfarr
Copy link
Member

@dfarr dfarr commented Sep 28, 2023

Currently only simple wildcard queries with an asterisk * are supported

query sql regex equivalent
* WHERE id LIKE % ^.*$
foo.* WHERE id LIKE foo.% ^foo\..*$
*.bar WHERE id LIKE %.bar ^.*bar\.$

@dfarr
Copy link
Member Author

dfarr commented Sep 28, 2023

Closes #19

@codecov
Copy link

codecov bot commented Sep 28, 2023

Codecov Report

Merging #72 (7dcc1ce) into main (2e11176) will decrease coverage by 1.08%.
The diff coverage is 90.00%.

@@            Coverage Diff             @@
##             main      #72      +/-   ##
==========================================
- Coverage   70.90%   69.82%   -1.08%     
==========================================
  Files          42       42              
  Lines        4279     4302      +23     
==========================================
- Hits         3034     3004      -30     
- Misses       1029     1084      +55     
+ Partials      216      214       -2     
Files Coverage Δ
...rnal/app/subsystems/aio/store/postgres/postgres.go 68.63% <100.00%> (+0.29%) ⬆️
internal/app/subsystems/aio/store/sqlite/sqlite.go 70.74% <100.00%> (+0.28%) ⬆️
internal/app/subsystems/aio/store/test/util.go 75.75% <ø> (ø)
test/dst/generator.go 100.00% <100.00%> (ø)
test/dst/model.go 55.30% <66.66%> (-0.30%) ⬇️

... and 5 files with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@dfarr dfarr merged commit 09f6ff0 into main Sep 28, 2023
3 of 4 checks passed
@dfarr dfarr deleted the feature/search-dsl branch September 28, 2023 22:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant