db2graphql
Advanced tools
Comparing version 0.5.0 to 0.5.1
{ | ||
"name": "db2graphql", | ||
"version": "0.5.0", | ||
"version": "0.5.1", | ||
"description": "Generate Graphql schema based on existing relational database", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -165,3 +165,3 @@ const hash = require('string-hash-64'); | ||
let query = this.db(tablename); | ||
const lastIdresult = await query.insert(data.input, [pk]); | ||
const lastIdresult = await query.insert(data.input); | ||
result = [lastIdresult[0]]; | ||
@@ -168,0 +168,0 @@ } else { |
1437918