Just avoiding to only manipulate strings would be already good.
On 09 Mar 2014, at 11:22, Norbert Hartl <norbert(a)hartl.name> wrote:
Am 03.03.2014 um 14:22 schrieb Johan Fabry <jfabry(a)dcc.uchile.cl>cl>:
+1 to that! It would be good to have some kind of
uniform syntax for constructing queries. Especially now that the use of JSON objects is
quite common.
I would like to have that, too. I need to have query support for elasticsearch
and I would do something similar like MongoQueries. The idea of having a common query
syntax is nice but I’m not convinced it will be easy to do. The parser needs to be easily
extendable because most applications will have their custom additions to the base syntax.
Norbert
The OP was actually referring to MongoQueries. To
get some examples of the syntax see section 4 of
https://ci.inria.fr/pharo-contribution/job/PharoForTheEnterprise/lastSucces…
On Mar 3, 2014, at 10:13 AM, Alexandre Bergel <alexandre.bergel(a)me.com> wrote:
What
would be nice is to have an abstraction like mongoTalk on top to avoid to manipulate
strings but to manipulate query elements.
That is a nice idea.
Alexandre
---> Save our in-boxes!
http://emailcharter.org <---
Johan Fabry -
http://pleiad.cl/~jfabry
PLEIAD lab - Computer Science Department (DCC) - University of Chile