Feature Request
What you wanted to do
Find multiple objects by matching a set of strings
collection|user|:q[
find[
in{
value|username|: m[
s|foo|,
s|bar|
]
}
]
];
What you did instead
Repeated the path multiple times inside of an or map
collection|user|:q[
find[
or[
eq{
value|username|:s|foo|
},
eq{
value|username|:s|bar|
}
]
]
]
Why that was not good
For the obvious reason, less code is always better when it can do the same thing.
Feature Request
What you wanted to do
Find multiple objects by matching a set of strings
What you did instead
Repeated the path multiple times inside of an
ormapWhy that was not good
For the obvious reason, less code is always better when it can do the same thing.