gremlin-scala icon indicating copy to clipboard operation
gremlin-scala copied to clipboard

Support for custom ids

Open analytically opened this issue 9 years ago • 2 comments

I'd be great if we could do graph + ("event", T.id -> "123", foo -> "bar").

analytically avatar Jun 15 '16 09:06 analytically

mmh, I'm not so sure. IMO opinion the DB should set the ID, and some DBs actually enforce that - if you supply one, it just ignores it.

This feature wouldn't harm though, if you wanna provide a PR I'm happy to take it on board.

mpollmeier avatar Jun 17 '16 04:06 mpollmeier

I agree with you, but TinkerPop supports user-supplied ids.

analytically avatar Jun 17 '16 06:06 analytically