nodejs-datastore
nodejs-datastore copied to clipboard
Node.js client for Google Cloud Datastore: a highly-scalable NoSQL database for your web and mobile applications.
I have a kind named 'audit' and has many properties, however, I need to index only certain properties and in a specific order since I mostly query: `select DISTINCT ON...
Getting the provided sample code for nodejs: - I'm trying to modify only one property ('done') of the entity Task in sample code tasks.markdone.js - What code you've already tried:...
I was making a Google AppEngine project. I use the google app datastore as the following code ```js import { Datastore } from "@google-cloud/datastore"; ``` then bundle using https://esbuild.github.io/ After...
Fixes https://github.com/googleapis/nodejs-datastore/issues/787 🦕 As described in https://github.com/googleapis/nodejs-datastore/issues/787, `nodejs-datastore` raises `TypeError: Cannot read property 'entityValue' of undefined` if we try to exclude **undefined** properties from index using `.*`. This is because...
#### Environment details - OS: MacOs - Node.js version: v14.4.0 - npm version: 6.14.8 - `@google-cloud/datastore` version: 6.3.0 #### Steps to reproduce Execute the following code: ```typescript async function saveBlob()...
There is a `runQueryStream` method that returns a `Transform`, which can be used in a `pipeline`. We have a script that needs to load big number of entities from Datastore...
#### The issue The [Datastore](https://github.com/googleapis/nodejs-datastore/blob/master/src/index.ts#L450) instance inherits from [DatastoreRequest](https://github.com/googleapis/nodejs-datastore/blob/f4c13eb70ac490086918330ebdfadae35ba7a11d/src/request.ts#L78) which among other things contain: ```ts [key: string]: Entity; // Entity is aliased to any ``` This is a problem when...
1) I can't see .get() documented here: https://googleapis.dev/nodejs/datastore/latest/Transaction.html 2) Like all annoying Node.js methods, even if you provide a single key to it, it returns an array with that entity...
Related to #754, #759 Remove auto inference of Numbers. This is a 'foot-gun' in the library and we should encourage usage of `datastore.double` and `datastore.int` so the library doesn't choose...