[ ] .rename({ [property: string]: IRI }) should replace .save(IRI, tag) for aliasing property name to something else. (+ .renameReverse()). There is no such operator in Gremlin but there is one in MongoDB's aggregation @iddan
[ ] .properties() called empty should save all properties (requires Path.save(Path) @dennwc)
[x] Generic .documents()
[x] Nicer API for automatic type conversion @iddan:
Followup tasks to https://github.com/cayleygraph/cayley/issues/877
.rename({ [property: string]: IRI })
should replace.save(IRI, tag)
for aliasing property name to something else. (+.renameReverse()
). There is no such operator in Gremlin but there is one in MongoDB's aggregation @iddan.properties()
called empty should save all properties (requiresPath.save(Path)
@dennwc).documents()
.match(pattern)
should be used for flat and deep matching of objects using structure pattern @iddan (https://github.com/cayleygraph/cayley/pull/916). For example:path.Out().Back()
. Need help @dennwcBut it has limitations, hard to optimize and to understand. Instead, we should have a method to do this:
Documents
properties
terminology from the API. Properties should always be namednames