lambdaorm-client-node
Advanced tools
Comparing version 0.7.27 to 0.7.28
{ | ||
"name": "lambdaorm-client-node", | ||
"version": "0.7.27", | ||
"version": "0.7.28", | ||
"description": "Client form lambda ORM service", | ||
@@ -5,0 +5,0 @@ "author": "Flavio Lionel Rita <flaviolrita@gmail.com>", |
@@ -51,4 +51,4 @@ # λORM Client Node | ||
const data = { id: 10248 } | ||
const sentence = await orm.sentence(query, { stage: 'default' }) | ||
console.log(JSON.stringify(sentence, null, 2)) | ||
const plan = await orm.plan(query, { stage: 'default' }) | ||
console.log(JSON.stringify(plan, null, 2)) | ||
const result = await orm.execute(query, data, { stage: 'default' }) | ||
@@ -77,4 +77,4 @@ console.log(JSON.stringify(result, null, 2)) | ||
const data = { id: 10248 } | ||
const sentence = await orm.sentence(query, { stage: 'default' }) | ||
console.log(JSON.stringify(sentence, null, 2)) | ||
const plan = await orm.plan(query, { stage: 'default' }) | ||
console.log(JSON.stringify(plan, null, 2)) | ||
const result = await orm.execute(query, data, { stage: 'default' }) | ||
@@ -89,3 +89,3 @@ console.log(JSON.stringify(result, null, 2)) | ||
Result of sentence method: | ||
Result of plan method: | ||
@@ -92,0 +92,0 @@ ```json |
298720