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

Enhanced Query API #33

Merged
merged 10 commits into from
Oct 4, 2017
Merged

Enhanced Query API #33

merged 10 commits into from
Oct 4, 2017

Conversation

JPDSousa
Copy link
Owner

@JPDSousa JPDSousa commented Oct 4, 2017

Closes #27

Smof now supports multiple MongoDB query operators such as:

  • Evaluation operators (eq; ne; gt; gte; lt; lte; in; nin)
  • Logical operators (and; or; nor; not)
  • Evaluation operators (mod; regex)
  • Array operators

Other operators are available but are considered relevant enough for this stage

@codecov-io
Copy link

codecov-io commented Oct 4, 2017

Codecov Report

Merging #33 into master will decrease coverage by 1.51%.
The diff coverage is 63.15%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master      #33      +/-   ##
============================================
- Coverage     78.82%   77.31%   -1.52%     
- Complexity      634      638       +4     
============================================
  Files            66       68       +2     
  Lines          1757     1816      +59     
  Branches        167      168       +1     
============================================
+ Hits           1385     1404      +19     
- Misses          248      285      +37     
- Partials        124      127       +3
Impacted Files Coverage Δ Complexity Δ
src/org/smof/parsers/SmofParser.java 74.19% <ø> (ø) 23 <0> (ø) ⬇️
src/org/smof/collection/Smof.java 74.32% <ø> (ø) 19 <0> (ø) ⬇️
src/org/smof/collection/SmofUpdate.java 65.21% <ø> (ø) 9 <0> (ø) ⬇️
src/org/smof/collection/DocumentQuery.java 0% <0%> (ø) 0 <0> (?)
src/org/smof/collection/ArrayQuery.java 100% <100%> (ø) 3 <3> (?)
src/org/smof/collection/SmofCollectionImpl.java 86.95% <100%> (ø) 26 <1> (ø) ⬇️
src/org/smof/collection/QueryOperators.java 100% <100%> (ø) 5 <5> (?)
src/org/smof/parsers/ArrayParser.java 62.74% <100%> (-3.33%) 16 <3> (-2)
src/org/smof/collection/UpdateOperators.java 100% <100%> (ø) 3 <1> (?)
src/org/smof/collection/AbstractQuery.java 32.6% <32.6%> (ø) 10 <10> (?)
... and 8 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update be18b78...663d2f8. Read the comment docs.

@JPDSousa JPDSousa merged commit d1c52b6 into master Oct 4, 2017
@JPDSousa JPDSousa deleted the query branch October 4, 2017 10:11
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.

2 participants