Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Result different from Studio query vs command function #107

Open
daviddupuy opened this issue Mar 28, 2019 · 1 comment
Open

Result different from Studio query vs command function #107

daviddupuy opened this issue Mar 28, 2019 · 1 comment

Comments

@daviddupuy
Copy link

Hi there,

I cannot figure out why the result is different from studio vs command.

select $path, min($depth) from (traverse out() from (select from User where user_id = 1)STRATEGY DEPTH_FIRST) where user_id=31

Command :
array (size=2)
'$path' => string '(#17:0).out1.out1' (length=35)
'min' => string '2' (length=1)

Studio :
"result": [
{
"$path": [
"#17:0",
"#20:0"
],
"min($depth)": 1
}
],

The result from Studio is the correct one.

@andreyvk
Copy link

andreyvk commented Mar 29, 2019 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants