-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix : adding support for contains operator (#151)
1. Added support for CONTAINS operator in Postgres 2. Added a new NOT_CONTAINS operator with implementation for both Postgres and MongoDB --------- Co-authored-by: Suresh Prakash <[email protected]>
- Loading branch information
1 parent
0956b46
commit 2a8b182
Showing
20 changed files
with
411 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
59 changes: 59 additions & 0 deletions
59
document-store/src/integrationTest/resources/query/unwind_contains_filter_response.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
[ | ||
{ | ||
"item":"Soap", | ||
"sales":{ | ||
"medium":[ | ||
{ | ||
"type":"distributionChannel", | ||
"volume":1000 | ||
}, | ||
{ | ||
"type":"retail", | ||
"volume":500 | ||
}, | ||
{ | ||
"type":"online", | ||
"volume":1000 | ||
} | ||
] | ||
} | ||
}, | ||
{ | ||
"item":"Shampoo", | ||
"sales":{ | ||
"medium":[ | ||
{ | ||
"type":"distributionChannel", | ||
"volume":3000 | ||
}, | ||
{ | ||
"type":"retail", | ||
"volume":500 | ||
}, | ||
{ | ||
"type":"online", | ||
"volume":1000 | ||
} | ||
] | ||
} | ||
}, | ||
{ | ||
"item":"Shampoo", | ||
"sales":{ | ||
"medium":[ | ||
{ | ||
"type":"distributionChannel", | ||
"volume":700 | ||
}, | ||
{ | ||
"type":"retail", | ||
"volume":500 | ||
}, | ||
{ | ||
"type":"online", | ||
"volume":5000 | ||
} | ||
] | ||
} | ||
} | ||
] |
25 changes: 25 additions & 0 deletions
25
document-store/src/integrationTest/resources/query/unwind_not_contains_filter_response.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
[ | ||
{ | ||
"item":"Soap", | ||
"sales":{ | ||
"medium":[ | ||
{ | ||
"type":"distributionChannel", | ||
"volume":300 | ||
}, | ||
{ | ||
"type":"online", | ||
"volume":2000 | ||
} | ||
] | ||
} | ||
}, | ||
{ | ||
"item":"Mirror", | ||
"sales":{ | ||
"medium":[ | ||
|
||
] | ||
} | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.