GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — TypeError: Cannot call method 'map' of undefined · Issue #424 · googleapis/google-cloud-node Closed Labels 🚨This issue needs some love.api: datastoreIssues related to the Datastore API.triage meI really want to be triaged.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns. Milestone DescriptionI setup an instance of type f1-micro in us-central1-f data center (machine type Ivy Bridge) running CentOS 7 to test some of my queries on as I plan to use google datastore as the backend db for a project. The other details are that I enabled datastore service both for the project and for the instance while creating it. Ran the following commands to update the system and get node running: sudo yum install epel-release sudo yum install vim git nodejs npm screen sudo yum update npm install gcloud vim app.js Dumped the following code into app.js: 'use strict'; console.log('Entered app'); var gcloud = require('gcloud'); console.log('Imported gcloud'); var db = gcloud.datastore.dataset({ projectId: "<my actual project ID>" }); var phone = '000000'; var userExistenceCheckQuery = { kinds: [{name: 'User'}], filter: { propertyFilter: { property: {name: 'phone'}, operator: 'EQUAL', value: {stringValue: phone} } } }; db.runQuery({ query: userExistenceCheckQuery, }).execute(function(err, result) { if(err) {console.log(JSON.stringify(err, null, ' '));} else {console.log(JSON.stringify(result, null, ' '));} }); Output: Other relevant information: node.js version is v0.10.33 Is there something I am doing wrong or is this a bug in the library ? Activity
MetadataMetadataAssigneesLabels🚨This issue needs some love.api: datastoreIssues related to the Datastore API.triage meI really want to be triaged.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns. TypeProjectsMilestoneRelationshipsDevelopmentIssue actions |
| 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. |