GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Added example with eventual read consistency in Node.js by irri · Pull Request #480 · GoogleCloudPlatform/nodejs-docs-samples

Conversation

@irri

@irri irri commented Sep 13, 2017

Copy link
Copy Markdown
Contributor

Documentation (https://cloud.google.com/datastore/docs/concepts/structuring_for_strong_consistency#datastore_read_policy) says:

// Read consistency cannot be specified in google-cloud-node.

However, this is implemented in the Node.js libraries as

query.run({ consistency: 'eventual' });

See googleapis/google-cloud-node#2599 (comment) and https://googlecloudplatform.github.io/google-cloud-node/#/docs/datastore/1.1.0/datastore/query?method=run

I've added example code to show how this is done in Node.js.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
irri added 2 commits September 13, 2017 11:30
@irri
Example with eventual read consistency in Node.js
5e5ac9f
@irri
Merge branch 'master' into master
08ccb24
@codecov

codecov Bot commented Sep 15, 2017 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

Codecov Report

Merging #480 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #480   +/-   ##
=======================================
  Coverage   97.16%   97.16%           
=======================================
  Files          13       13           
  Lines         458      458           
=======================================
  Hits          445      445           
  Misses         13       13

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update e83f4c1...64b2858. Read the comment docs.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@jmdobry
Couple updates.
64b2858
@googlebot

googlebot commented Sep 19, 2017

Copy link
Copy Markdown

So there's good news and bad news.

👍 The good news is that everyone that needs to sign a CLA (the pull request submitter and all commit authors) have done so. Everything is all good there.

😕 The bad news is that it appears that one or more commits were authored by someone other than the pull request submitter. We need to confirm that they're okay with their commits being contributed to this project. Please have them confirm that here in the pull request.

Note to project maintainer: This is a terminal state, meaning the cla/google commit status will not change from this State. It's up to you to confirm consent of the commit author(s) and merge this pull request when appropriate.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

jmdobry
jmdobry approved these changes Sep 19, 2017
View reviewed changes

@jmdobry jmdobry left a comment

Copy link
Copy Markdown
Member

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.

Thanks!

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@jmdobry
jmdobry merged commit 9fd795b into GoogleCloudPlatform:master Sep 19, 2017
This was referenced Dec 23, 2020
[Snyk] Security upgrade @google-cloud/firestore from 0.19.0 to 0.21.0 leejh3224/nodejs-docs-samples#285
Open
[Snyk] Security upgrade @google-cloud/firestore from 0.19.0 to 0.21.0 leejh3224/nodejs-docs-samples#309
Open
This was referenced Sep 6, 2021
[Snyk] Security upgrade @google-cloud/firestore from 0.19.0 to 0.21.0 leejh3224/nodejs-docs-samples#359
Open
[Snyk] Security upgrade @google-cloud/firestore from 0.19.0 to 0.21.0 leejh3224/nodejs-docs-samples#363
Open
This was referenced Jan 12, 2022
[Snyk] Security upgrade @google-cloud/firestore from 0.19.0 to 0.21.0 leejh3224/nodejs-docs-samples#434
Open
[Snyk] Security upgrade @google-cloud/firestore from 0.19.0 to 0.21.0 leejh3224/nodejs-docs-samples#437
Open
This was referenced Feb 10, 2022
[Snyk] Security upgrade @google-cloud/firestore from 0.19.0 to 0.21.0 leejh3224/nodejs-docs-samples#455
Open
[Snyk] Security upgrade @google-cloud/firestore from 0.19.0 to 0.21.0 leejh3224/nodejs-docs-samples#466
Open
ahrarmonsur pushed a commit that referenced this pull request Nov 8, 2022
@renovate-bot
fix(deps): update dependency yargs to v16 (#480)
877c0b8
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [yargs](https://yargs.js.org/) ([source](https://togithub.com/yargs/yargs)) | dependencies | major | [`^15.0.0` -> `^16.0.0`](https://renovatebot.com/diffs/npm/yargs/15.4.1/16.0.1) |

---

### Release Notes

<details>
<summary>yargs/yargs</summary>

### [`v16.0.1`](https://togithub.com/yargs/yargs/blob/master/CHANGELOG.md#&#8203;1601-httpswwwgithubcomyargsyargscomparev1600v1601-2020-09-09)

[Compare Source](https://togithub.com/yargs/yargs/compare/v16.0.0...v16.0.1)

### [`v16.0.0`](https://togithub.com/yargs/yargs/blob/master/CHANGELOG.md#&#8203;1600-httpswwwgithubcomyargsyargscomparev1542v1600-2020-09-09)

[Compare Source](https://togithub.com/yargs/yargs/compare/v15.4.1...v16.0.0)

##### ⚠ BREAKING CHANGES

-   tweaks to ESM/Deno API surface: now exports yargs function by default; getProcessArgvWithoutBin becomes hideBin; types now exported for Deno.
-   find-up replaced with escalade; export map added (limits importable files in Node >= 12); [email protected] (new decamelize/camelcase implementation).
-   **usage:** single character aliases are now shown first in help output
-   rebase helper is no longer provided on yargs instance.
-   drop support for EOL Node 8 ([#&#8203;1686](https://togithub.com/yargs/yargs/issues/1686))

##### Features

-   adds strictOptions() ([#&#8203;1738](https://www.github.com/yargs/yargs/issues/1738)) ([b215fba](https://www.github.com/yargs/yargs/commit/b215fba0ed6e124e5aad6cf22c8d5875661c63a3))
-   **helpers:** rebase, Parser, applyExtends now blessed helpers ([#&#8203;1733](https://www.github.com/yargs/yargs/issues/1733)) ([c7debe8](https://www.github.com/yargs/yargs/commit/c7debe8eb1e5bc6ea20b5ed68026c56e5ebec9e1))
-   adds support for ESM and Deno ([#&#8203;1708](https://www.github.com/yargs/yargs/issues/1708)) ([ac6d5d1](https://www.github.com/yargs/yargs/commit/ac6d5d105a75711fe703f6a39dad5181b383d6c6))
-   drop support for EOL Node 8 ([#&#8203;1686](https://www.github.com/yargs/yargs/issues/1686)) ([863937f](https://www.github.com/yargs/yargs/commit/863937f23c3102f804cdea78ee3097e28c7c289f))
-   i18n for ESM and Deno ([#&#8203;1735](https://www.github.com/yargs/yargs/issues/1735)) ([c71783a](https://www.github.com/yargs/yargs/commit/c71783a5a898a0c0e92ac501c939a3ec411ac0c1))
-   tweaks to API surface based on user feedback ([#&#8203;1726](https://www.github.com/yargs/yargs/issues/1726)) ([4151fee](https://www.github.com/yargs/yargs/commit/4151fee4c33a97d26bc40de7e623e5b0eb87e9bb))
-   **usage:** single char aliases first in help ([#&#8203;1574](https://www.github.com/yargs/yargs/issues/1574)) ([a552990](https://www.github.com/yargs/yargs/commit/a552990c120646c2d85a5c9b628e1ce92a68e797))

##### Bug Fixes

-   **yargs:** add missing command(module) signature ([#&#8203;1707](https://www.github.com/yargs/yargs/issues/1707)) ([0f81024](https://www.github.com/yargs/yargs/commit/0f810245494ccf13a35b7786d021b30fc95ecad5)), closes [#&#8203;1704](https://www.github.com/yargs/yargs/issues/1704)

</details>

---

### Renovate configuration

:date: **Schedule**: "after 9am and before 3pm" (UTC).

:vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

:recycle: **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

:no_bell: **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/nodejs-monitoring).
@ahrarmonsur ahrarmonsur mentioned this pull request Nov 8, 2022
samples: migrate code from googleapis/nodejs-monitoring #2807
Merged
ace-n pushed a commit that referenced this pull request Nov 10, 2022
@renovate-bot Ace Nassri
fix(deps): update dependency yargs to v16 (#480)
222446a
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [yargs](https://yargs.js.org/) ([source](https://togithub.com/yargs/yargs)) | dependencies | major | [`^15.0.0` -> `^16.0.0`](https://renovatebot.com/diffs/npm/yargs/15.4.1/16.0.1) |

---

### Release Notes

<details>
<summary>yargs/yargs</summary>

### [`v16.0.1`](https://togithub.com/yargs/yargs/blob/master/CHANGELOG.md#&#8203;1601-httpswwwgithubcomyargsyargscomparev1600v1601-2020-09-09)

[Compare Source](https://togithub.com/yargs/yargs/compare/v16.0.0...v16.0.1)

### [`v16.0.0`](https://togithub.com/yargs/yargs/blob/master/CHANGELOG.md#&#8203;1600-httpswwwgithubcomyargsyargscomparev1542v1600-2020-09-09)

[Compare Source](https://togithub.com/yargs/yargs/compare/v15.4.1...v16.0.0)

##### ⚠ BREAKING CHANGES

-   tweaks to ESM/Deno API surface: now exports yargs function by default; getProcessArgvWithoutBin becomes hideBin; types now exported for Deno.
-   find-up replaced with escalade; export map added (limits importable files in Node >= 12); [email protected] (new decamelize/camelcase implementation).
-   **usage:** single character aliases are now shown first in help output
-   rebase helper is no longer provided on yargs instance.
-   drop support for EOL Node 8 ([#&#8203;1686](https://togithub.com/yargs/yargs/issues/1686))

##### Features

-   adds strictOptions() ([#&#8203;1738](https://www.github.com/yargs/yargs/issues/1738)) ([b215fba](https://www.github.com/yargs/yargs/commit/b215fba0ed6e124e5aad6cf22c8d5875661c63a3))
-   **helpers:** rebase, Parser, applyExtends now blessed helpers ([#&#8203;1733](https://www.github.com/yargs/yargs/issues/1733)) ([c7debe8](https://www.github.com/yargs/yargs/commit/c7debe8eb1e5bc6ea20b5ed68026c56e5ebec9e1))
-   adds support for ESM and Deno ([#&#8203;1708](https://www.github.com/yargs/yargs/issues/1708)) ([ac6d5d1](https://www.github.com/yargs/yargs/commit/ac6d5d105a75711fe703f6a39dad5181b383d6c6))
-   drop support for EOL Node 8 ([#&#8203;1686](https://www.github.com/yargs/yargs/issues/1686)) ([863937f](https://www.github.com/yargs/yargs/commit/863937f23c3102f804cdea78ee3097e28c7c289f))
-   i18n for ESM and Deno ([#&#8203;1735](https://www.github.com/yargs/yargs/issues/1735)) ([c71783a](https://www.github.com/yargs/yargs/commit/c71783a5a898a0c0e92ac501c939a3ec411ac0c1))
-   tweaks to API surface based on user feedback ([#&#8203;1726](https://www.github.com/yargs/yargs/issues/1726)) ([4151fee](https://www.github.com/yargs/yargs/commit/4151fee4c33a97d26bc40de7e623e5b0eb87e9bb))
-   **usage:** single char aliases first in help ([#&#8203;1574](https://www.github.com/yargs/yargs/issues/1574)) ([a552990](https://www.github.com/yargs/yargs/commit/a552990c120646c2d85a5c9b628e1ce92a68e797))

##### Bug Fixes

-   **yargs:** add missing command(module) signature ([#&#8203;1707](https://www.github.com/yargs/yargs/issues/1707)) ([0f81024](https://www.github.com/yargs/yargs/commit/0f810245494ccf13a35b7786d021b30fc95ecad5)), closes [#&#8203;1704](https://www.github.com/yargs/yargs/issues/1704)

</details>

---

### Renovate configuration

:date: **Schedule**: "after 9am and before 3pm" (UTC).

:vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

:recycle: **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

:no_bell: **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/nodejs-monitoring).
ace-n pushed a commit that referenced this pull request Nov 11, 2022
@ivanmkc @ivanmkc-google
fix: Wrote inputs as string to facilitate parsing (#480)
9c660fb
Co-authored-by: Ivan Cheung <[email protected]>
@ace-n ace-n mentioned this pull request Nov 11, 2022
migrate code from googleapis/nodejs-automl #2841
Merged
ace-n pushed a commit that referenced this pull request Nov 11, 2022
@ivanmkc @ivanmkc-google
fix: Wrote inputs as string to facilitate parsing (#480)
2851ece
Co-authored-by: Ivan Cheung <[email protected]>
ace-n pushed a commit that referenced this pull request Nov 14, 2022
@ivanmkc @ivanmkc-google Ace Nassri
fix: Wrote inputs as string to facilitate parsing (#480)
3261418
Co-authored-by: Ivan Cheung <[email protected]>
ace-n pushed a commit that referenced this pull request Nov 15, 2022
@ivanmkc @ivanmkc-google Ace Nassri
fix: Wrote inputs as string to facilitate parsing (#480)
6600f5f
Co-authored-by: Ivan Cheung <[email protected]>
ace-n pushed a commit that referenced this pull request Nov 15, 2022
@ivanmkc @ivanmkc-google Ace Nassri
fix: Wrote inputs as string to facilitate parsing (#480)
4d8dbca
Co-authored-by: Ivan Cheung <[email protected]>
ace-n pushed a commit that referenced this pull request Nov 16, 2022
@munkhuushmgl
chore: fixes the flaky tests (#486)
e486d30
Fixes #483 #479 #480  🦕
grayside pushed a commit that referenced this pull request Nov 16, 2022
@release-please
chore: release 2.5.0 (#481)
b942fec
🤖 I have created a release \*beep\* \*boop\*
---
## [2.5.0](https://www.github.com/googleapis/nodejs-cloud-container/compare/v2.4.4...v2.5.0) (2021-08-23)


### Features

* turns on self-signed JWT feature flag ([#480](https://www.github.com/googleapis/nodejs-cloud-container/issues/480)) ([f7a7887](https://www.github.com/googleapis/nodejs-cloud-container/commit/f7a7887be1168b8f15e6de556df5774d1da42b32))
---


This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
ace-n pushed a commit that referenced this pull request Nov 17, 2022
@munkhuushmgl Ace Nassri
chore: fixes the flaky tests (#486)
30a86a0
Fixes #483 #479 #480  🦕
ace-n pushed a commit that referenced this pull request Nov 17, 2022
@ivanmkc @ivanmkc-google Ace Nassri
fix: Wrote inputs as string to facilitate parsing (#480)
c32de4a
Co-authored-by: Ivan Cheung <[email protected]>
ace-n pushed a commit that referenced this pull request Nov 17, 2022
@ivanmkc @ivanmkc-google Ace Nassri
fix: Wrote inputs as string to facilitate parsing (#480)
7230ffe
Co-authored-by: Ivan Cheung <[email protected]>
ace-n pushed a commit that referenced this pull request Nov 17, 2022
@release-please Ace Nassri
chore: release 2.5.0 (#481)
702a0d9
🤖 I have created a release \*beep\* \*boop\*
---
## [2.5.0](https://www.github.com/googleapis/nodejs-cloud-container/compare/v2.4.4...v2.5.0) (2021-08-23)


### Features

* turns on self-signed JWT feature flag ([#480](https://www.github.com/googleapis/nodejs-cloud-container/issues/480)) ([f7a7887](https://www.github.com/googleapis/nodejs-cloud-container/commit/f7a7887be1168b8f15e6de556df5774d1da42b32))
---


This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
grayside pushed a commit that referenced this pull request Nov 17, 2022
@release-please @grayside
chore: release 2.5.0 (#481)
262f2df
🤖 I have created a release \*beep\* \*boop\*
---
## [2.5.0](https://www.github.com/googleapis/nodejs-cloud-container/compare/v2.4.4...v2.5.0) (2021-08-23)


### Features

* turns on self-signed JWT feature flag ([#480](https://www.github.com/googleapis/nodejs-cloud-container/issues/480)) ([f7a7887](https://www.github.com/googleapis/nodejs-cloud-container/commit/f7a7887be1168b8f15e6de556df5774d1da42b32))
---


This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
unforced pushed a commit that referenced this pull request Nov 17, 2022
@release-please @gcf-owl-bot
chore(main): release 5.11.0 (#480)
71312f0
* chore(main): release 5.11.0

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
@unforced unforced mentioned this pull request Nov 17, 2022
migrate code from googleapis/nodejs-security-center #2867
Merged
ahrarmonsur pushed a commit that referenced this pull request Nov 17, 2022
@munkhuushmgl Ahrar Monsur
chore: fixes the flaky tests (#486)
c54faf8
Fixes #483 #479 #480  🦕
ahrarmonsur pushed a commit that referenced this pull request Nov 17, 2022
@ivanmkc @ivanmkc-google Ahrar Monsur
fix: Wrote inputs as string to facilitate parsing (#480)
a4bfa52
Co-authored-by: Ivan Cheung <[email protected]>
ahrarmonsur pushed a commit that referenced this pull request Nov 17, 2022
@release-please Ahrar Monsur
chore: release 2.5.0 (#481)
769a5f1
🤖 I have created a release \*beep\* \*boop\*
---
## [2.5.0](https://www.github.com/googleapis/nodejs-cloud-container/compare/v2.4.4...v2.5.0) (2021-08-23)


### Features

* turns on self-signed JWT feature flag ([#480](https://www.github.com/googleapis/nodejs-cloud-container/issues/480)) ([f7a7887](https://www.github.com/googleapis/nodejs-cloud-container/commit/f7a7887be1168b8f15e6de556df5774d1da42b32))
---


This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
@pedroarapua pedroarapua mentioned this pull request Nov 30, 2023
[Snyk] Security upgrade @google-cloud/logging from 4.5.2 to 5.0.0 pedroarapua/nodejs-docs-samples-gcp#479
Open
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@jmdobry jmdobry jmdobry approved these changes

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

3 participants

@irri @googlebot @jmdobry
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.