fdb-document-layer
fdb-document-layer copied to clipboard
A document data model on FoundationDB, implementing MongoDB® wire protocol
Hi, @apkar It seems that the repo hasn't been update for a long time. Any roadmap in the community ?
Wire protocol 4 adds - [ ] [find](https://docs.mongodb.com/v3.2/reference/command/find/) command * It is likely this is just same as OP_QUERY. If so, it's a relatively easy task. - [ ] [getMore](https://docs.mongodb.com/v3.2/reference/command/getMore/)...
Bumps [pyyaml](https://github.com/yaml/pyyaml) from 4.2b4 to 5.4. Changelog Sourced from pyyaml's changelog. 5.4 (2021-01-19) yaml/pyyaml#407 -- Build modernization, remove distutils, fix metadata, build wheels, CI to GHA yaml/pyyaml#472 -- Fix for...
Query planner uses indexes only to satisfy predicates. Sorting is done in memory. If we have a query like `db.coll.find().sort('section').limit(5)`, without indexes, it would have to bring in all documents...
**How to reproduce?** 1. Add 100K docs to collection 2. Query docs by _id with $in or $or and put 100 idents to expression like this: db.collection.find({"_id": {"$in": ["id1", ...,...
Having a collection with two indexes: ``` db.getCollection("links").createIndex({ "left": 1, "right": 1 }, { }) db.getCollection("links").createIndex({ "left": 1, "right": 1, "type": 1 }, { "unique": true }) ``` created against...
It's possible I'm doing something wrong, but it appears that indexes are not used when performing `$in` queries. Here's an example Mongo query: ```python >>> import pymongo >>> db =...
This PR resolves [#17](https://github.com/FoundationDB/fdb-document-layer/issues/17) Explain() output will be much more useful if the keys are user readable, instead of FDB keys. Used the existing decode_key_part function to achieve this.
This PR resolves [#146](https://github.com/FoundationDB/fdb-document-layer/issues/146) Registered new command for hostInfo and changes are verified in Ubuntu, CentOS and Mac OS.
`UnboundCollectionContext` is the core of metadata management. Every instance of it represents a specific metadata version, changing it directly might not be advisable. It's better to have a builder or...