Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
LIKE expressions for string #1
Comments
Hi, In your example, "path" is field in json object or it's path with object keys like "key1.key2.key3.value"? |
I think path with object keys. Here is real case:
also cool would be:
|
In our current semantics of *
would be
In this case LIKE/ILIKE is matching value without key names. |
That's ok for How about We need it for http://www.hl7.org/implement/standards/fhir/search.html - open source implementation of open HealthIT standard. We can little-bit sponsor & collaborate on |
I also saw |
niquola wrote:
- any alement of array% - any key in object
Teodor Sigaev E-mail: [email protected] |
@feodor thanks for clarification! |
bump! it would be very nice to have partial string matching, even if it was only left to right. |
We are thinking about that, but we are afraid that gin index support will be impossible. Only vodka index will be able to support it. 7 июля 2014 г. 20:27:07 CEST, Merlin Moncure [email protected] пишет:
Отправлено с Nokia 3210. Извините за краткость, пожалуйста. |
On Mon, Jul 7, 2014 at 2:02 PM, Teodor Sigaev [email protected] wrote:
I thought as much. Precise key value searches on jsquery are postgres=# select count(*) from foo where j @@ 'attrelid ($ = 3721083541)'; count
Time: 0.564 ms However, any range search is problematic. It's evaluating first postgres=# select count(*) from foo where j @@ 'attrelid ($ >= count
(1 row) Time: 496.856 ms So, I have a couple of questions.
Thanks for your quick answers! merlin |
queston on path_value vs value_path is answered pretty well on the youtube video here: https://www.youtube.com/watch?v=2dQjfdXxtJw. |
Hello,
big thx for jsquery!
We need some additional expressions for strings: