Skip to content


Subversion checkout URL

You can clone with
Download ZIP


cannot insert/update #8

michael88 opened this Issue · 3 comments

3 participants



if i try to insert a record, for example:

conn.execute("insert into code_gema_land (land,wert) values(?,?)",['DE',3]

I get the following error:

ReferenceError: ret is not defined
at /home/michael/node_modules/node-firebird/lib/index.js:965:38
at doCallback (/home/michael/node_modules/node-firebird/lib/index.js:870:9)
at Socket. (/home/michael/node_modules/node-firebird/lib/index.js:1124:13)
at Socket.emit (events.js:67:17)
at TCP.onread (net.js:341:14)

It seems, only select statements are possible , what are I'm doing wrong? (The insert statement ist ok - i checked it with isql)


hi you try set callback function in execute command ?

conn.execute("insert into code_gema_land (land, wert) values(?, ?)", ['DE', 3], function (result) { });

i dont know just idea.


Yes, I tried it with and without callback function(s).


oh ok sorry. i tried this yes have a same problem.

@hgourvest hgourvest closed this issue from a commit
@hgourvest fix #8 e57fc99
@hgourvest hgourvest closed this in e57fc99
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.