Skip to content

Commit

Permalink
Fix readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Fizcko committed Feb 1, 2023
1 parent 4ccd2e7 commit 9b0fc02
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,13 +77,13 @@ try{
//=> { "childs": { $nin: [1,2,3] } }

// Like operator
rsqlMongoDB('lastName=~do*');
rsqlMongoDB('lastName=regex=do*');
//=> { "lastName": { $regex: "do*", $options: "" } }

// Like operator with options
rsqlMongoDB('lastName=~do*=si');
rsqlMongoDB('lastName=regex=do*=si');
//=> { "lastName": { $regex: "do*", $options: "si" } }
rsqlMongoDB('lastName=~"do=*"=si');
rsqlMongoDB('lastName=regex="do=*"=si');
//=> { "lastName": { $regex: "do=*", $options: "si" } }

// Exists operator
Expand Down

0 comments on commit 9b0fc02

Please sign in to comment.