An open API service providing repository metadata for many open source software ecosystems.

GitHub / will-abule / mongodb-collection-query-with-mongoose

This is use to query a single mongodb collection written with mongoose dynamically with simple query parameters using mongodb query types 'AND' and 'OR' with mongodb filter options eg '$gt' as 'gt', '$gte' as 'gte', '$lt' as 'lt', '$lte' as 'lte', '$eq' as 'eq' and 'cn' for case insentitive query for contains replacing mongodb regax expression eg '/.*Will Abule.*/i'. The client(s) consuming your API just has to follow simple roles or better a query structure and it dynamically query and return and objest as the result containing four fields rows reprecenting the queried data records reprecenting the total records found based on the filter page reperecenting the current page and total representing the number of pages

JSON API: http://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/will-abule%2Fmongodb-collection-query-with-mongoose
PURL: pkg:github/will-abule/mongodb-collection-query-with-mongoose

Stars: 2
Forks: 0
Open issues: 2

License: None
Language: TypeScript
Size: 160 KB
Dependencies parsed at: Pending

Created at: almost 6 years ago
Updated at: over 1 year ago
Pushed at: over 2 years ago
Last synced at: 28 days ago

    Loading...