You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I use the include method in the MATCH command, the output has circular reference, but when I write similar query with the SELECT command, the output is fine.
Examples:
MATCH command:
(This is just an example, my real query is much more complex than this)
conststringify=require('json-stringify-safe')constquery=`MATCH { class: User, as: user }.out('UserProfile') { as: profile }RETURN profile.include('name', 'age') as userInfo`;constresult=awaitdb.select().from(query).all();console.log(stringify(result));
When I use the
include
method in theMATCH
command, the output has circular reference, but when I write similar query with theSELECT
command, the output is fine.Examples:
MATCH
command:(This is just an example, my real query is much more complex than this)
OrientJS output (Click to open)
Studio raw output (Click to open)
SELECT
command:OrientJS output (Click to open)
Studio raw output (Click to open)
If you need more information, let me know.
Thanks
The text was updated successfully, but these errors were encountered: