[m-users.] ODBC library: Ony one transaction per connection .. ?

Volker Wysk post at volker-wysk.de
Mon Jan 17 19:47:57 AEDT 2022


Hi!

I've found this in odbc.m:

    % odbc.transaction(Source, UserName, Password, Transaction, Result).
    %
    % Open a connection to `Source' using the given `UserName'
    % and `Password', perform `Transaction' within a transaction
    % using that connection, then close the connection.

And there aren't any predicates for opening and closing a connection...

So you really need a new connection for every transaction ??  Is the ODBC
library only meant as a tool, to demonstrate what's written in the research
paper "Database transactions in a purely declarative logic programming
language" ?

Bye, Volker
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part
URL: <http://lists.mercurylang.org/archives/users/attachments/20220117/87c3c720/attachment.sig>


More information about the users mailing list