You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So you want the search field to be relative to another field? Rather than {start: {gte: 5}} you want to check where the value of one field (start) is gte (or some other comparator) to another field?
No support for it now, but no reason it couldn't be extended to do so. The comparisons take place entirely in this function. It would need to be extended to be able to handle field being not just an absolute value, but perhaps an object that could contain relative fields.
Would also need a way to change the syntax in the query.
I have an array with elements like:
{
start:5
end: 6
}
There's any way to do a search in array (matchArray) to find all objects where {start:{gte:end}} or {start:{gte:end-1}} ?
I'm interested in doing that sort of things, and I think your library is great, but I need something like this.
Thanks!
The text was updated successfully, but these errors were encountered: