The TinyDB forum has found a new home at GitHub discussions. The content here remains as a read-only archive.
Check out this project based on TinyDB
That's cool! Thanks for sharing. Would you mind if I list this project as an experimental TinyDB extension in the docs?
By all means include it. I am actually going to also include this project in a much larger project that will be released later in the summer. But I plan to keep this separated so I can build it up for other people to enjoy.
Cool, it's in the extension list now!
Hey, I am trying to deal with something in the mongo world that does not seem to exist in tinydb. The two operators that are handled are "AND" and "OR" what I am needing to handle is something called the NOR operator. It is less like OR and more like the AND. It is an operator that lists things that are not true. Sql has an equivalent called NAND i believe. What would be the possibility of being able to do that with the current system or getting that functionality added to TinyDB?
I think NOR and NAND most probably refer to different operations, NOR being NOT OR and NAND being NOT AND as used in boolean algebra. For TinyDB, NOR would be something like ~(query_1 | query_2 | ...), NAND would be something like ~(query_1 & query_2 & ...). I hope that helps.
~(query_1 | query_2 | ...)
~(query_1 & query_2 & ...)