I am having a lot of issues with google cloud datastore & transactions.
I am building a react/nodeJS web app. For the database I am using google cloud datastore. I use the emulator (google cloud datastore emulator) for local development.
The time has come for transactions. Unfortunately for me I cannot seem to instantiate a transaction object. I have wrapped the problem statement in console log. Example
code:
console.log('before transaction()')
const transaction = datastore.transaction();
console.log('after transaction()')
Actually output:
before transaction()
Expected output:
before transaction()
after transaction()
I don't get any error message.
Note: I am certain I have instantiated my datastore object correctly because I can execute queries against the emulator and real db. The problem is specific to calling datastore.transaction(), as shown in the above example
code.
Questions:
Here are the links to google cloud datastore transaction docs: https://cloud.google.com/nodejs/docs/reference/datastore/1.3.x/Transaction
How to prevent a token created with OAuth 2.0 from expiring?
The app (Nodejs) is deployed on Cloud Foundry (IBM Cloud, US-South) by my previous colleague, but the codes in our private Github (seperate from IBM DevOps) for local testing doesn't look the same as what he has deployed on Cloud Foundry
I just want to create a fast ecommerce platform where I can implement NodeJs as the main guyTo maintain products and orders can I use Woocommerce
anybody can explain diff between socket timeout and connection timeout in HTTP callAnd how can identify its connection timeout or socket timeout
How can i receive exact message or error codes using clickatell-node api?