Hi Marko, Thank you very much for this information, is it possible that the documentation will include these gremlin methods, since on the Gremlin-Steps page, I failed to notice any mention of UniqueObject()? I am now updating the .NetClient asap :) Thank you once again!
-----Original Message----- From: user-boun...@lists.neo4j.org [mailto:user-boun...@lists.neo4j.org] On Behalf Of Marko Rodriguez Sent: Sunday, 4 December 2011 3:08 AM To: Neo4j user discussions Cc: 'mystory-develop...@barnardos.org.au' Subject: Re: [Neo4j] Gremlin/Groovy UNIQUE + Closure support Hi, unique() is a Groovy construct, not a Gremlin construct. The Gremlin equivalent is uniqueObject(). And, in Gremlin 1.4, being released next week, its called dedup(). Gremlin constructs Pipelines in the backend (toString() an expression). If you drop out of pipeline construction by moving to a Groovy iterator method, then the pipeline is gone. https://github.com/tinkerpop/gremlin/wiki/Gremlin-Steps (note that this is being updated for Gremlin 1.4 and a few names have changed) (refer to the distribution /wiki for your versions steps) HTH, Marko. http://markorodriguez.com On Dec 2, 2011, at 9:13 PM, Romiko Derbynew wrote: > Hi Guys, > > If I do a query with out.as(xyz)...out.unique()..out.table....cap I find that > the table projections for the closure do not work and I lose all AS > references. > So to get closure support I do this > > Out.unique._().out..table > > The above sorts out the closure error, but then I lose my previous as > projections, is there a way to ensure _() preserves all my previous pipes and > placeholders? > _______________________________________________ > Neo4j mailing list > User@lists.neo4j.org > https://lists.neo4j.org/mailman/listinfo/user _______________________________________________ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user _______________________________________________ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user