mkrd / DictDataBase

A python NoSQL dictionary database, with concurrent access and ACID compliance
MIT License
234 stars 11 forks source link

.at() filter capabilities #17

Closed mkrd closed 2 years ago

mkrd commented 2 years ago

.at() should be able to accept a lambda function at the final selection level to allow filtering for a specific condition.

DDB.at("tasks", lambda t: t["annotator_id"] == current_user.id).read() to get all tasks where the id matches the user id