enable between filter for memory db connector
This commit is contained in:
parent
7dc0fcd26f
commit
9aeaa37b1c
|
@ -455,7 +455,12 @@ function applyFilter(filter) {
|
|||
if ('neq' in example) {
|
||||
return compare(example.neq, value) !== 0;
|
||||
}
|
||||
|
||||
|
||||
if ('between' in example ) {
|
||||
return ( testInEquality({gte:example.between[0]}, value) &&
|
||||
testInEquality({lte:example.between[1]}, value) );
|
||||
}
|
||||
|
||||
if (example.like || example.nlike) {
|
||||
|
||||
var like = example.like || example.nlike;
|
||||
|
|
Loading…
Reference in New Issue