1File::KDBX::TransactionU(s3e)r Contributed Perl DocumentaFtiiloen::KDBX::Transaction(3)
2
3
4
6 File::KDBX::Transaction - Make multiple database edits atomically
7
9 version 0.906
10
12 object
13 Get the object being transacted on.
14
16 new
17 $txn = File::KDBX::Transaction->new($object);
18
19 Construct a new database transaction for editing an object atomically.
20
21 commit
22 $txn->commit;
23
24 Commit the transaction, making updates to the "object" permanent.
25
26 rollback
27 $txn->rollback;
28
29 Roll back the transaction, throwing away any updates to the "object"
30 made since the transaction began. This happens automatically when the
31 transaction is released, unless it has already been committed.
32
34 Please report any bugs or feature requests on the bugtracker website
35 <https://github.com/chazmcgarvey/File-KDBX/issues>
36
37 When submitting a bug or request, please include a test-file or a patch
38 to an existing test-file that illustrates the bug or desired feature.
39
41 Charles McGarvey <ccm@cpan.org>
42
44 This software is copyright (c) 2022 by Charles McGarvey.
45
46 This is free software; you can redistribute it and/or modify it under
47 the same terms as the Perl 5 programming language system itself.
48
49
50
51perl v5.38.0 2023-09-27 File::KDBX::Transaction(3)