xdenser / node-firebird-libfbclient

Firebird SQL binding
MIT License
82 stars 34 forks source link

[Discussion] Disconnect method #121

Closed asgeira13 closed 3 years ago

asgeira13 commented 3 years ago

Just wanted to ask some stuff about closing connections with this library, sorry for opening it as an issue.

link to method disconnect

I noticed that in the fb-bindings-connection source files you already have a method for closing the client connection that seemed to work fine, when I made some generic testing. The documentation for this library does not mention this method at all and since I am using typescript, the @types file did also not make it available as a method of the "connection" object (of course that is totally seperate from this project, I just found it interesting that the author of that library did not implement it).

I wanted to know if the author or anyone else had any comment on, if the method is still a work in progress or if it should be ok to use in the newest versions?

If it is safe to use maybe we should add this as a small line in the README documentation? I personally managed to not see it for years until after checking the source folder.

xdenser commented 3 years ago

Yes it is supported method. It is tested, so it was just missing line in documentation.