KiokuD...:Linear(3pm)

πŸ“¦
version 0.57 Β· 3 versions
, in debian bookworm, debian trixie, ubuntu noble, ubuntu questing

πŸ’– 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>


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