Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
NikitOS94 authored Jul 16, 2017
1 parent eba318f commit 2ead3ad
Showing 1 changed file with 0 additions and 21 deletions.
21 changes: 0 additions & 21 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -340,27 +340,6 @@ correspondingly.
gin_debug_query_path_value
----------------------------
y > 0 , entry 0 +
### parse\_mquery
This function is transofrm MongoDB query to JsQuery query. Function get string
like argument and return jsquery object.
Example:
MongoDB query:
```
select '{"a": {"b": 1 } }'::jsonb @@ parse_mquery('{ "a.b" : { $lte : 1 } }');
```
Transformed to:
```
select '{"a": {"b": 1 } }'::jsonb @@ 'a.b = 1';
```
And return:
```
select '{"a": {"b": 1 } }'::jsonb @@ 'a.b = 1';
?column?
----------
t
(1 row)
```

Contribution
------------
Expand Down

0 comments on commit 2ead3ad

Please sign in to comment.