Closed mkrd closed 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
DDB.at("tasks", lambda t: t["annotator_id"] == current_user.id).read()
.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