-
Notifications
You must be signed in to change notification settings - Fork 770
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
Problem: Add MongoDB query and aggregation features to the BigchainDB API #2693
base: master
Are you sure you want to change the base?
Conversation
Merge main repository master in private fork master
Signed-off-by: maoudia <[email protected]>
Signed-off-by: maoudia <[email protected]>
Signed-off-by: maoudia <[email protected]>
Signed-off-by: maoudia <[email protected]>
…ndb into add_query_and_aggregation
Recreated this PR and signed-off all the commits. Wasn't familiar with the sign-off feature :) Sorry about the confusion. |
Hello. Can I please have a target date for when this PR could be reviewed ? |
Some day this week. Ill also make a summary of your proposal in BEPs |
@zzappie . Thanks ! I actually already created a BEP : bigchaindb/BEPs#96 |
Any news or target date on this PR ? Thanks ! |
Hi @elmadj! Sorry I was very busy lately. |
Solution
This PR adds two endpoints to the BIgchainDB API:
A "query-assets" endpoint which allows the client to pass a json query as defined by MongoDB to query the assets collection. (https://docs.mongodb.com/manual/tutorial/query-documents/)
An "aggregate-assets" endpoint which allows the client to pass a list of aggregation functions to perform a MongoDB aggregation. (https://docs.mongodb.com/manual/reference/method/db.collection.aggregate/)
BEPs Implemented
bigchaindb/BEPs#96