logo
Free, Micro AI Code Reviews That Run on Git Commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, Micro AI Code Reviews That Run on Git Commit | Product Hunt git-lrc - Free, Micro AI Code Reviews That Run on Git Commit | Product Hunt

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

Attributes

object
       Get the object being transacted on.

Author

       Charles McGarvey <ccm@cpan.org>

Bugs

       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.

Methods

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

       Construct a new database transaction for editing an object atomically.

   commit
           $txn->commit;

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

   rollback
           $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.

Name

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

Version

       version 0.906

See Also