KiokuD...tSource(3pm)
π KiokuD...tSource β the KiokuDB::TypeMap::Entry::DBIC::ResultSource page π
okay bestie, this is from the User Contributed Perl Documentation corner of the 3pm manuals, and it's all about KiokuDB::TypeMap::Entry::DBIC::ResultSource β a typemap entry for DBIx::Class::ResultSource objects. no cap, that's the whole vibe. π¦
β¨ NAME β¨
KiokuDB::TypeMap::Entry::DBIC::ResultSource β literally a KiokuDB::TypeMap::Entry made for DBIx::Class::ResultSource objects. that's it, that's the girl. π
πΈ VERSION πΈ
version 1.23 π
π DESCRIPTION π
okay so here's the tea, bestie. this typemap entry resolves result source handles symbolically, by name. like, it doesn't need to drag the whole actual object along β it just knows her by name. iconic behaviour, honestly. β¨
so when something holds a reference to the handle, that reference gets a special ID, and it looks exactly like this:
dbic:schema:rs:$name
and β important β those references are not actually written to storage. they're too cool for that. π
now when you go looking up one of those IDs, the backend gets to work and dynamically searches for such a resultset in the DBIx::Class::Schema. yes babe, it goes and finds her live, in the wild, no pre-saving required. π§
π 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. π
and that's the whole page, bestie β written up against perl v5.34.0, dated 2022-05-24, and filed under KiokuD...tSource(3pm). go forth and slay your result sources. πβ¨π
π¦ where this page comes from
- debian bookworm: libkiokudb-backend-dbi-perl 1.23-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- debian trixie: libkiokudb-backend-dbi-perl 1.23-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libkiokudb-backend-dbi-perl 1.23-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libkiokudb-backend-dbi-perl 1.23-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libkiokudb-backend-dbi-perl 1.23-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms