dexie-mongoify icon indicating copy to clipboard operation
dexie-mongoify copied to clipboard

query projections

Open nevf opened this issue 8 years ago • 2 comments

@YuriSolovyov Are there any plans to support query projections so we can just get specific document fields returned. See: https://docs.mongodb.org/manual/reference/method/db.collection.find/

nevf avatar Feb 25 '16 01:02 nevf

@nevf in case of mongoify, I'm not sure this would give you better performance, if you need this for speed reason.

Thanks for opening the issue, it is now on the TODO list.

YurySolovyov avatar Feb 25 '16 08:02 YurySolovyov

@YuriSolovyov No, nothing to do with performance. Just another step in Mongo compatibility. Projections can also simplify downstream code, by just returning specific properties.

nevf avatar Feb 25 '16 11:02 nevf