src code

instance method Spah.SpahQL.QueryResult#parentPath

Spah.SpahQL.QueryResult#parentPath() → String or null

Returns the path for the object in the queried data which contains this result. If this result is the root, the method will return null. If this result was not produced by a path at all, but rather a set literal, range or other construct, it will return null.