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

nGQL指南中遇到的LIMIT结合rand32(5)。 #732

Closed
JustDoItGit opened this issue Jul 19, 2021 · 0 comments
Closed

nGQL指南中遇到的LIMIT结合rand32(5)。 #732

JustDoItGit opened this issue Jul 19, 2021 · 0 comments

Comments

@JustDoItGit
Copy link

JustDoItGit commented Jul 19, 2021

rand32(5)的结果是[0, 5)输出结果可能是0,所以会出现输出为空的时候。

(root@nebula) [basketballplayer]> MATCH (v:player) RETURN v.name AS Name, v.age AS Age ORDER BY Age LIMIT rand32(5);

输出为:

+------+-----+
| Name | Age |
+------+-----+
+------+-----+
@JustDoItGit JustDoItGit changed the title nGQL指南中遇到的LIMIT结合rand32(5)的bug。 nGQL指南中遇到的LIMIT结合rand32(5)。 Jul 19, 2021
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

1 participant