IN not supported in where?
sdwebguy opened this issue · 3 comments
sdwebguy commented
On the bottom of
https://github.com/jclausen/cbmongodb/wiki/2C.-Loading-and-Querying-Documents
it says
Valid operators currently include "=","!=","<",">",">=","<=","IN" and "Exists"
which should map IN to $in but I dont see that working anywhere.
ActiveEntity shows the valid operators are:
this.set_operators([
'=',
'!=',
'>=',
'<=',
'<>',
'like'
]);
Is there a way to use IN or is that a documentation error?
sdwebguy commented
I added IN to the set_operators and then in ActiveEntity.cfc where() added a case for it. Works now.
jclausen commented
Can you pull request your changes? I believe these were intended to be supported at one point, but were backed out due to query errors.