Last active
January 26, 2019 01:25
-
-
Save da-moon/1e327f21d1acf86eb0e46d9fca75f14e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
data(func: has(user)) | |
@filter(eq(username, "damoon")){ | |
bucket | |
@filter(eq(name,"Test Bucket Three")){ | |
uid | |
name | |
created | |
visiblitystatus | |
} | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
data(func: has(credential)){ | |
credential @filter(eq(accesskey,"SYYWBS3M18NHA6JH5YEY")){ | |
enabled | |
} | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
data(func: has(user)) | |
@filter(eq(username, "damoon")){ | |
bucket { | |
uid | |
name | |
created | |
visiblitystatus | |
} | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
data(func: has(user)) | |
@filter(eq(username, "damoon")){ | |
uid | |
checkpwd(password,"password") | |
expand(_all_) { | |
uid | |
expand(_all_) | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment