KiokuD...C::Row(3pm)

πŸ“¦
version 1.23 Β· 2 versions
  • 1.23 Β· debian bookworm, debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking (latest)
  • 1.23 Β· ubuntu jammy
, in debian bookworm, debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking

πŸ’– KiokuDB::TypeMap::Entry::DBIC::Row πŸ’–

okay bestie, so this page is literally about KiokuDB::TypeMap::Entry::DBIC::Row, which is the KiokuDB::TypeMap::Entry for DBIx::Class::Row objects. yes that's a lot of colons. she's built different. πŸŽ€


✨ VERSION ✨

this is version 1.23. slay. noted. πŸ’…


🌸 DESCRIPTION 🌸

so here's the tea: DBIx::Class::Row objects get resolved symbolically, using this special ID format:

dbic:row:$json

and the $json string? it's a serialization of this little cutie right here:

[ $result_source_name, @primary_key_values ]

now, lowkey the most important part: the row objects are not actually written to the KiokuDB storage. nope. not even a little. because they're already present in the other tables, bestie. they live there. they're booked and busy elsewhere. πŸ‘‘

and looking up an object with an ID like that? it's a dynamic lookup that delegates to the DBIx::Class::Schema and resultsets. no cap. πŸ¦‹


πŸ’œ AUTHOR πŸ’œ

Yuval Kogman <nothingmuch@woobling.org> β€” icon behavior fr fr. 🫢


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 vibe, bestie ✨ this was pulled from perl v5.34.0, dated 2022-05-24 β€” go forth and resolve those rows symbolically, you main character πŸ’–πŸ§šπŸŒΈ

πŸ“¦ where this page comes from