@@ -797,7 +797,7 @@ apiDescribe('Validation:', (persistence: boolean) => {
797
797
collection . where ( 'x' , '>=' , 32 ) . where ( 'y' , '<' , 'cat' )
798
798
) . to . throw (
799
799
'Invalid query. All where filters with an ' +
800
- 'inequality (<, <=, >, or >=) must be on the same field.' +
800
+ 'inequality (<, <=, !=, not-in, >, or >=) must be on the same field.' +
801
801
` But you have inequality filters on 'x' and 'y'`
802
802
) ;
803
803
} ) ;
@@ -818,7 +818,7 @@ apiDescribe('Validation:', (persistence: boolean) => {
818
818
collection . where ( 'y' , '>' , 32 ) . where ( 'x' , '!=' , 33 )
819
819
) . to . throw (
820
820
'Invalid query. All where filters with an ' +
821
- 'inequality (<, <=, >, or >=) must be on the same field.' +
821
+ 'inequality (<, <=, !=, not-in, >, or >=) must be on the same field.' +
822
822
` But you have inequality filters on 'y' and 'x`
823
823
) ;
824
824
}
@@ -833,7 +833,7 @@ apiDescribe('Validation:', (persistence: boolean) => {
833
833
collection . where ( 'y' , '>' , 32 ) . where ( 'x' , 'not-in' , [ 33 ] )
834
834
) . to . throw (
835
835
'Invalid query. All where filters with an ' +
836
- 'inequality (<, <=, >, or >=) must be on the same field.' +
836
+ 'inequality (<, <=, !=, not-in, >, or >=) must be on the same field.' +
837
837
` But you have inequality filters on 'y' and 'x`
838
838
) ;
839
839
}
@@ -846,7 +846,7 @@ apiDescribe('Validation:', (persistence: boolean) => {
846
846
const collection = db . collection ( 'test' ) ;
847
847
const reason =
848
848
`Invalid query. You have a where filter with an ` +
849
- `inequality (<, <=, >, or >=) on field 'x' and so you must also ` +
849
+ `inequality (<, <=, !=, not-in, >, or >=) on field 'x' and so you must also ` +
850
850
`use 'x' as your first argument to Query.orderBy(), but your first ` +
851
851
`orderBy() is on field 'y' instead.` ;
852
852
expect ( ( ) => collection . where ( 'x' , '>' , 32 ) . orderBy ( 'y' ) ) . to . throw (
0 commit comments