mongoose-query

mongoose query creator. Alternative for mongoose-api-query but without schema understanding.

MIT License

Downloads
295
Stars
60
Committers
7

Bot releases are hidden (Show)

mongoose-query - v0.8.0 Latest Release

Published by jupe 7 months ago

What's Changed

Full Changelog: https://github.com/jupe/mongoose-query/compare/v0.7.5...v0.8.0

mongoose-query - v0.7.5

Published by jupe about 1 year ago

What's Changed

New Contributors

Full Changelog: https://github.com/jupe/mongoose-query/compare/v0.7.4...v0.7.5

mongoose-query - distinct timeout

Published by jupe over 2 years ago

What's Changed

Full Changelog: https://github.com/jupe/mongoose-query/compare/v0.7.3...v0.7.4

mongoose-query - fix broken Lodash

Published by jupe almost 3 years ago

What's Changed

Full Changelog: https://github.com/jupe/mongoose-query/compare/v0.7.2...v0.7.3

mongoose-query - tune release flow

Published by jupe almost 3 years ago

What's Changed

New Contributors

Full Changelog: https://github.com/jupe/mongoose-query/compare/v0.7.1...v0.7.2

mongoose-query - update mongoose

Published by jupe almost 3 years ago

mongoose-query - update supported node.js versions

Published by jupe over 3 years ago

official support for node.js 10, 12, 14 and latest (15)

mongoose-query - query parser fixes

Published by jupe over 5 years ago

Fixes

#80 parse values properly from q and from plain parameters

mongoose-query - Circle CI and more query options

Published by jupe over 5 years ago

This release brings to, x and d options for query and replace travis with circle.

to(timeout)=<ms>
x(explain)=<'queryPlanner', 'executionStats', 'allPlansExecution'>
d(allowDiskUse)=<'true', 'false'>

NOTE: allowEval option is dropped since its not needed actually.

new options

add more query options (#66)

CI update

Create config.yml (#64)

deprecate updates

replace deprecated call collection.count() with countDocuments() (#63)

dep updates

chore(package): update mongoose to version 5.2.12 (#58)
chore(package): update mongoose to version 5.2.13 (#59)
chore(package): update mongoose to version 5.2.14 (#65)
chore(package): update eslint-plugin-chai-expect to version 2.0.1 (#61)
chore(package): update eslint-plugin-node to version 8.0.0 (#62)

mongoose-query - v0.5.3

Published by jupe about 6 years ago

New:

  • allow query.q to be an object #54
  • adds case insensitive search for begin and end of string #55
  • fixes search when value contains special characters #55

Dependencies updates

#50 chore(package): update mongoose to version 5.2.2
#52 chore(package): update eslint-plugin-promise to version 4.0.0
#51 Update eslint-plugin-node to the latest version ๐Ÿš€
#48 Update eslint-config-airbnb to the latest version ๐Ÿš€
#53 update dependencies to latest ones

mongoose-query - v0.5.2 patch release

Published by jupe over 6 years ago

This patch release updates several dependencies and fixes some bugs

Changes

chore(package): update mocha to version 5.0.0 (#30)
chore(package): update mongoose to version 4.13.4 (#31)
chore(package): update eslint-plugin-node to version 6.0.0 (#33)
Update mongoose to the latest version ๐Ÿš€ (#29)
chore(package): update mongoose to version 5.0.8 (#36)
chore(package): update eslint-plugin-mocha to version 4.12.0 (#37)
chore(package): update eslint-plugin-mocha to version 5.0.0 (#38)
chore(package): update lodash to version 4.17.9 (#42)
chore(package): update mongoose to version 5.1.1 (#43)
update dev dependencies (#45)
Some strings are detected as date, but they should not (#44)

mongoose-query - v0.5.1 patch release

Published by jupe almost 7 years ago

This patch fixes tens of bugs from quey parser and bring a lot of more unit and api tests.

Fixes

#27 Several fixes and refactoring parseQuery function
#11 aggregate query with dates doesnโ€™t work

mongoose-query - v0.5.0

Published by jupe almost 7 years ago

#25 Start using eslint for whole library
#23 fix: date parsing when passing numbers
#24 Integrate forks changes + some fixes

  • includeAllParams -option (activated by default)
  • exports parseQuery
  • update documentation
  • Attach a query method to a schema's query property
  • fix: key= number search
  • fix: {m} -query (elemMatch)
mongoose-query - v0.4.0

Published by jupe almost 7 years ago

fix leanQuery with flat option (#21)

  • fix leanQuery with flat option
  • several smaller fixes and promise tests
  • boolean conversion allows numbers (0=false, !0 = true) and undefined (=true)
  • fix: count promise resolves now same count object than callback
  • add promise tests which validate same thing than callback tests
  • disconnect mongoose after tests
mongoose-query - v0.3.0 release

Published by jupe about 7 years ago

major refactoring including several fixes and more tests

  • Update package.json
  • fixes against latest mongoose.
  • This drops Model.Query api because it seems to be internally used by mongoose. Use Model.query instead.
  • split module to smaller parts
  • add parseQuery tests
  • add more promise supports (flat)
  • several fixes popups during parseQuery tests, e.g. date parsing
  • moving to ES6 age.. - require node.js 6.x .
  • update documentation
mongoose-query - v0.2.1 release

Published by jupe almost 8 years ago

bug fixes and oid (=objectId) support for searching