Skip to content

Commit 9b0fc02

Browse files
committed
Fix readme
1 parent 4ccd2e7 commit 9b0fc02

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Readme.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -77,13 +77,13 @@ try{
7777
//=> { "childs": { $nin: [1,2,3] } }
7878

7979
// Like operator
80-
rsqlMongoDB('lastName=~do*');
80+
rsqlMongoDB('lastName=regex=do*');
8181
//=> { "lastName": { $regex: "do*", $options: "" } }
8282

8383
// Like operator with options
84-
rsqlMongoDB('lastName=~do*=si');
84+
rsqlMongoDB('lastName=regex=do*=si');
8585
//=> { "lastName": { $regex: "do*", $options: "si" } }
86-
rsqlMongoDB('lastName=~"do=*"=si');
86+
rsqlMongoDB('lastName=regex="do=*"=si');
8787
//=> { "lastName": { $regex: "do=*", $options: "si" } }
8888

8989
// Exists operator

0 commit comments

Comments
 (0)