entrendipity/grex — pull request #7 by richtera (2013-07-17 14:15:35+00:00)
Title: Support verbatim and _docWithTypes to update

Allow {verbatim:json} to be passed as arguments.
Call _docWithTypes when calling updateVertex.

This should fix updateVertex to add the appropriate types that tp:batch is dropping. I couldn't figure out how to easily distinguish between long and integer.
The {verbatim:} allows you to send pre-formatted JSON to any of the functions as input and the system will verbatim insert the string into the gremlin clause. The exception would be for updateVertex since that already internally serializes the object differently.