Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
{ sql: 'insert into users (user_name) values (?)' }
buffer.js:572
return this.utf8Write(string, offset, length);
^
TypeError: Argument must be a string
at TypeError (native)
at Buffer.write (buffer.js:572:21)
at XdrWriter.addString (d:\knex\node_modules\node-firebird\lib\serialize.js:
274:17)
at Connection.prepareStatement (d:\knex\node_modules\node-firebird\lib\index
.js:3558:9)
at d:\knex\node_modules\node-firebird\lib\index.js:1315:17
at doCallback (d:\knex\node_modules\node-firebird\lib\index.js:1237:5)
at Socket.<anonymous> (d:\knex\node_modules\node-firebird\lib\index.js:2932:
17)
at emitOne (events.js:77:13)
at Socket.emit (events.js:169:7)
at readableAddChunk (_stream_readable.js:146:16)
at Socket.Readable.push (_stream_readable.js:110:10)
at TCP.onread (net.js:523:20)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment