Hi,
For my project I'm using PostgreSQL backend, which supports a really neat feature:
value IN (columnA, columnB, columnC, ...)
I
need this feature to be able to query efficiently the DB (I can explain
the reason, but I'm not sure it's relevant to this problem now).
I wrote a basic implementation, but it's not working enough for me to use in production
Here is the commented code of the lookup, the table on which it is tested, and the results
https://gist.github.com/MakersF/9ce7002f1ce570e14bc0