Closed keenborder786 closed 1 year ago
Any updates?
Hey @keenborder786, sorry for not answering for so long! I was quite busy with work lately.
All in all, this looks quite good, my only suggestion would be to not reuse the doc_id
parameter but instead use another doc_ids
parameter just like you mentioned in your PR description. This way using doc_id
will not break when users use a document ID class other than int
🙂 Could you adapt your code in this manner?
sure. I will have a look.
@msiemens can you please see now?
Thanks for your contribution @keenborder786!
I'll try to prepare a release of TinyDB with this feature sometime in the next two weeks
Hey! I've now release TinyDB 4.8.0 that includes this feature 🙂
The feature augmentation in the table class is as per the requirement of #486. The user can now query multiple documents by specifying multiple doc_ids in form of a list in the get method of the Table class: