> Am 30.12.2014 um 02:32 schrieb Sebastian Sastre
> <[email protected]>:
>
> Is anybody here using MongoTalk doing some fancy custom queries? Not just
> with boolean conditions but with regex for example.
>
> I’m interested in being able to execute and get the results of a raw
> javascript query but I cannot found how to do it.
>
> I am missing something?
In order to execute a javascript query you would need a javascript interpreter.
As this is not feasible Mongo provides alternative constructs for the most
important things you need. For the regex it would be
aMongoCollection select: {
'fieldName' -> { '$regex' -> '.*foo' } asDictionary
} asDictionary
Hope that helps,
Norbert