Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@FraGoTe
Created December 22, 2015 15:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save FraGoTe/69d0a0a28e3735939787 to your computer and use it in GitHub Desktop.
Save FraGoTe/69d0a0a28e3735939787 to your computer and use it in GitHub Desktop.
{ 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