-
Notifications
You must be signed in to change notification settings - Fork 18
Open
Description
I found an issue where :contains is working as expected on the in-memory datastore, but is not functioning on mongo.
It's a simple case of:
vushaper.repl=> (find-by-kind (str :project) :filters [:contains :key '("cHJvamVjdDo4OWYwNWM0NTllYTk0N2M4OGQzNGZmNTJhM2M1NjUyNw" "cHJvamVjdDpsbElnRWc5Sw" "cHJvamVjdDpsbElnRWc5Sw" "cHJvamVjdDoxOU45NU1GRA")])
()
Yet if I do the same thing with the monger driver:
vushaper.repl=> (count (mw/find-in "project" '("cHJvamVjdDo4OWYwNWM0NTllYTk0N2M4OGQzNGZmNTJhM2M1NjUyNw" "cHJvamVjdDpsbElnRWc5Sw" "cHJvamVjdDpsbElnRWc5Sw" "cHJvamVjdDoxOU45NU1GRA")))
2
The second is correct. It's fairly nasty since in-memory works.
Metadata
Metadata
Assignees
Labels
No labels