Skip to content
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

.at() filter capabilities #17

Closed
mkrd opened this issue Oct 31, 2022 · 0 comments
Closed

.at() filter capabilities #17

mkrd opened this issue Oct 31, 2022 · 0 comments

Comments

@mkrd
Copy link
Owner

mkrd commented Oct 31, 2022

.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

@mkrd mkrd closed this as completed Nov 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant