KiokuD...NScope(3pm)
π KiokuDB::LiveObjects::TXNScope β Transaction scope π
okay bestie, welcome to the perl docs, but make it cute. this page lives in the User Contributed Perl Documentation section and it's filed under the manual name KiokuD...NScope(3pm) (yeah they truncated it, iconic behavior honestly). we're on version 0.57 btw. let's go π¦
β¨ SYNOPSIS β¨
$txn_scope = $live_objects->new_txn;
$txn_scope->update_entries(@updated);
$txn_scope->rollback;
look at that. three lines. clean. no notes. π
πΈ DESCRIPTION πΈ
so basically this is an auxiliary class β a little helper guy, not a main character β used by transaction scoping to roll back entries that got updated during a transaction when that transaction gets aborted. like, oops, we're undoing all of that, sorry babe π
and fr fr: this is used internally in "txn_do" in KiokuDB, so you should not need to use it directly. it's giving backstage crew. let it cook in the background, bestie. π
π ATTRIBUTES π
entriesβ an ordered log of updated entries. it's literally keeping receipts, in order, periodt. π§Ύβ¨
π METHODS π
update_entriesβ called by"update_entries"in KiokuDB::LiveObjects. its whole job? adding entries to"entries". that's it. that's the gig. π«Άrollbackβ calls"KiokuDB::LiveObjects/rollback_entries"with all the recorded entries. every single one. no crumbs left behind. π₯
π AUTHOR π
Yuval Kogman <nothingmuch@woobling.org>
π COPYRIGHT AND LICENSE π
This software is copyright (c) 2014 by Yuval Kogman, Infinity Interactive.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
okay and that's the whole page!! no cap. this doc was generated by perl v5.34.0 on 2022-05-23, and the manual name is KiokuD...NScope(3pm) β yes it's abbreviated, we love her anyway. mwah, bye bestie πππ¦
π¦ where this page comes from
- debian bookworm: libkiokudb-perl 0.57-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- debian trixie: libkiokudb-perl 0.57-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libkiokudb-perl 0.57-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu questing: libkiokudb-perl 0.57-3
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms