Ah ha! Thanks! On Wednesday, July 15, 2015 at 10:18:56 AM UTC-5, nagaraja sosale ramaswamy wrote: > > :group declares a named parameter that allows the caller to pass a value > into the query thus making the query dynamic rather than hard coding. > and out()[group = :group] applies a filter on the out() such that only > those vertices which contain group property = the passed value are returned > > hope that helps > > On Wednesday, July 15, 2015 at 8:38:20 PM UTC+5:30, Eric24 wrote: >> >> @Richard: Just for my education, what does this syntax do? >> --Eric >> >> >> On Wednesday, July 15, 2015 at 9:16:30 AM UTC-5, Riccardo Tasso wrote: >>> >>> Hi, >>> I have a query similar to the following in Orient 2.0.12: >>> >>> SELECT out()[group=:group] >>> FROM Person >>> >>> >>> I execute it from Java, with the following method over >>> ODatabaseDocumentTx: >>> db.query(query, paramsMap); >>> >>> It seems that parameters can't be used inside square brackets, as you >>> can see also in the attached UnitTest. >>> >>> I think this is a bug, can you fix it in 2.0.13 release? >>> Otherwise can you help me obtaining the same results without this syntax? >>> >>> Cheers, >>> Riccardo >>> >>
-- --- You received this message because you are subscribed to the Google Groups "OrientDB" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
