How to chain queries? #422
Answered
by
msiemens
yashrathi-git
asked this question in
Q&A
-
Is there any way, to pass the result of the previous query (list of documents) to |
Beta Was this translation helpful? Give feedback.
Answered by
msiemens
Aug 3, 2021
Replies: 1 comment 1 reply
-
The way TinyDB Queries work is that they are callables which return
|
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
yashrathi-git
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The way TinyDB Queries work is that they are callables which return
True
if they match a document. This means that you can take a query and apply it to a list of objects like this: