mkorkmaz / redislabs-redisgraph-php

Redislabs RedisGraph Module PHP Client (PHP 8.0+)
MIT License
16 stars 1 forks source link

feat(dev) Support query predicates for graph commit command #4

Open jblotus opened 3 years ago

jblotus commented 3 years ago

When creating a Node you can specify a predicate via withQueryPredicate() or optional constructor parameter. When not specified the default predicate is MATCH.

When creating an edge, you can use the Edge::create() or Edge::merge() methods to determine the strategy.

mkorkmaz commented 3 years ago

I'll try to review this in a couple of days. I have ideas that can be applied after this PR.

jblotus commented 3 years ago

No rush please - this is merely some ideas I had.