Step - with

with ยท category: Modulators and options

On g sets an execution option (g.with("key", value), see the book page Execution Options Reference); after a step a WithOptions token configures it.

Forms

with(arg1: WithOptions)
with(arg1: WithOptions, arg2: WithOptions)
with(arg1: string, arg2: any)

Example

g.with("random.seed", 7).v().count().next()   // 6

See also