DOKK / manpages / debian 12 / libfile-kdbx-perl / File::KDBX::Transaction.3pm.en
File::KDBX::Transaction(3pm) User Contributed Perl Documentation File::KDBX::Transaction(3pm)

File::KDBX::Transaction - Make multiple database edits atomically

version 0.906

Get the object being transacted on.

    $txn = File::KDBX::Transaction->new($object);

Construct a new database transaction for editing an object atomically.

    $txn->commit;

Commit the transaction, making updates to the "object" permanent.

    $txn->rollback;

Roll back the transaction, throwing away any updates to the "object" made since the transaction began. This happens automatically when the transaction is released, unless it has already been committed.

Please report any bugs or feature requests on the bugtracker website <https://github.com/chazmcgarvey/File-KDBX/issues>

When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature.

Charles McGarvey <ccm@cpan.org>

This software is copyright (c) 2022 by Charles McGarvey.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

2022-11-20 perl v5.36.0