xdenser / node-firebird-libfbclient

Firebird SQL binding
MIT License
82 stars 34 forks source link

Is there a way to establish service connection by using node-firebird-libfbclient? #3

Closed ozalexo closed 13 years ago

ozalexo commented 13 years ago

I need to get a list of connected DBs from Firebird server by using IP and log/pass only.

Such possibility is available in Python's kinterbasdb module: http://kinterbasdb.sourceforge.net/dist_docs/usage.html#adv_prog_maint_servapi_connect

Python example:

svcCon = kinterbasdb.services.connect(host='127.0.0.1', user='sysdba', password='masterkey')
print svcCon.getAttachedDatabaseNames()

Output example (DB is hosted on Windows):

['D:\\dbfolder\\dbfile.fdb']

Thanks in advance.

xdenser commented 13 years ago

Currently there is no services api binding in node-firebird-libfbclient. For other ways read this

http://firebirdfaq.org/faq10/

ozalexo commented 13 years ago

OK, thank you.

Denys, are there any plans to add such functionality in the future?

xdenser commented 13 years ago

May be, but only after proper realization of present plans. With current development rate time for services api will come somewhere at late fall of 2011.