inthefabric / Weaver

A fluent, strongly-typed Gremlin script generator (for .NET/C#).
www.inthefabric.com
Other
12 stars 0 forks source link

Improve Parameterization #10

Open zachkinstner opened 11 years ago

zachkinstner commented 11 years ago

There are several places where strings can be converted to parameters in Weaver-generated queries. These weren't obvious parameter use cases, but it results in valid/working Gremlin scripts.

For example:

g.v(4).as(_P0).inE.outV.back(_P0)
{ "_P0": "test" }