gRex currently requires passing an instance of GremlinScript to client.exec() or client.fetch(). These two methods should be able to instantiate a new script themselves.
This will make the API smaller for one line scripts, which are typical for simple queries/traversals.
gRex currently requires passing an instance of
GremlinScript
toclient.exec()
orclient.fetch()
. These two methods should be able to instantiate a new script themselves.This will make the API smaller for one line scripts, which are typical for simple queries/traversals.
The following:
may then be replaced by: