node-firebird-libfbclient
node-firebird-libfbclient copied to clipboard
creating an embedded database?
Is it possible to create an embedded database via libfbclient, like in sqlite?
In firebird 3 libfbclient can also open databases like libfbembed does (libfbembed and libfbclient are one)
In firebird 2.5 you need to do some small tweaks and rebuild it
https://groups.google.com/d/msg/nodejs/IoRlz2hT24I/K0bjHT-YhKgJ
Sorry I wasn't clear.
With sqlite - you can create a database file at the moment you open it.
i.e. var db = sqlite.open("/new/database/path"); // before this line the database file doesn't exist.
Can the same be done with firebird?
create_database api can be implemented similar to this example
http://www.sqlapi.com/HowTo/native_api.html
This is how create_database was implemeted also in python driver
http://pythonhosted.org/fdb/reference.html#functions
there is no fbembedded.lib in /lib folder? So just replace the linking in binding.gyp will not work out of the box?