-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Data not fetched properly #104
Comments
If you do not call startSync or start explicitly it is called implicitly when you do the query. |
Just as a follow-up question: After commiting / rolling back the transaction, is it necessary to do something specific with the default transaction? |
@xdenser If i try to commit or rollback afterwards, i get an error about an unset cursor. |
I got it working by calling
With this order, the latest data is fetched, the transaction is properly closed and there is no @xdenser Can you confirm this order being the intended way of usage? Is it maybe possible to update the documentation cases? |
Yes correct. |
Hi,
we're using the lib with TypeScript 3.8 and node12.
We've written a simple connection class which executes queries for us.
Using this code, we have the following problem:
SELECT * FROM TABLE WHERE ID = ?
Little hack to try things out:
This way, it works, but i havent found a function to close connections
SELECT * FROM TABLE WHERE ID = ?
SELECT * FROM MON$ATTACHMENTS
shows a shitload of open connections - i didnt find a close connection function...Thanks in advance for any help you can provide (:
The text was updated successfully, but these errors were encountered: