-
Notifications
You must be signed in to change notification settings - Fork 108
docs: adds OR sample #1092
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
docs: adds OR sample #1092
Conversation
|
Here is the summary of changes. You are about to add 1 region tag.
This comment is generated by snippet-bot.
|
| // const projectId = "your Google Cloud project id"; | ||
|
|
||
| // Imports the Cloud Datastore | ||
| const {Datastore, PropertyFilter, or} = require('@google-cloud/datastore'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is great. Now these functions are directly available to the user.
| const query = datastore | ||
| .createQuery('Task') | ||
| .filter( | ||
| or([ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Look good!
.vscode/launch.json
Outdated
| @@ -0,0 +1,25 @@ | |||
| { | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we remove this file and the protos?
|
Warning: This pull request is touching the following templated files:
|
|
Thank you kindly! |
No description provided.