You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there a way to manage transactions through the library?
In tarantool, transaction is started with box.begin() and committed with box.commit() functions. But I couldn't find any methods in the library to manage the transactions.
What I would like to do is, begin a transaction, make updates/inserts to a space and then commit the transaction.
I tried adding some functions like below and calling these functions from the library, but it didn't work.
function begin_transaction(dummy)
box.begin()
end
function commit_transaction(dummy)
box.commit()
end
Thank you.
The text was updated successfully, but these errors were encountered:
@olegrok gives the answer, which is relevant for all tarantool connectors / clients. In short: the connector feature is blocked on tarantool/tarantool#2016. One may use stored procedures as partial workaround (it resolves some cases, but does not help with other ones).
Hi,
Is there a way to manage transactions through the library?
In tarantool, transaction is started with box.begin() and committed with box.commit() functions. But I couldn't find any methods in the library to manage the transactions.
What I would like to do is, begin a transaction, make updates/inserts to a space and then commit the transaction.
I tried adding some functions like below and calling these functions from the library, but it didn't work.
Thank you.
The text was updated successfully, but these errors were encountered: