KiokuD...:Linear(3pm)
π KiokuD...:Linear β the manual, but make it cute β¨
okay bestie, so this is KiokuDB::Backend::Role::Query::Simple::Linear, a Perl role from the User Contributed Perl Documentation section (that's the 3pm bit, iykyk). She's the Query::Simple interface, but implemented by literally justβ¦ walking through every single entry one by one. No indexes, no fancy tricks. Just vibes and a foreach. π¦
πΈ NAME πΈ
KiokuDB::Backend::Role::Query::Simple::Linear β the role that does Query::Simple the only way it knows how: a linear scan of all the entries. Every. Single. One. π
β VERSION β
version 0.57
β¨ SYNOPSIS β¨
here's how you'd actually pull this role into your own backend, no cap:
package MyBackend;
use Moose;
with qw(
KiokuDB::Backend::Role::Scan
KiokuDB::Backend::Role::Query::Simple::Linear
);
π«Ά notice she wants the Scan role too β that's her whole supply chain, she can't do her thing without it.
π DESCRIPTION π
okay so here's the tea: this role hands you a primitive little "search" facility. The API it gives you is the one described over in KiokuDB::Backend::Role::Query::Simple, and it builds that API out of the stuff provided by KiokuDB::Backend::Role::Scan.
The way it works is lowkey chaotic: instead of being smart about it, she scans everything. It's very inefficient for large data sets β like, very, bestie, do not bring this to a party with a million records π β but if your databases are small, this can genuinely be useful. small database? slay. big database? not her moment. π
π 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! this lil doc was brought to you by perl v5.34.0, dated 2022-05-23, and it's the manual for KiokuD...:Linear(3pm). go forth and scan linearly, my love. periodt. π
β¨π
π¦ 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