DBIx::...:SQLite(3pm)
π NAME π
okay so bestie, gather round β this is DBIx::SearchBuilder::Handle::SQLite, and it's literally a SQLite specific Handle object. that's the whole vibe. it's a tiny lil module in the DBIx::SearchBuilder family and it exists for one reason: SQLite is a whole diva and somebody has to handle her π
oh and fr fr, this page lives in the User Contributed Perl Documentation collection, so you know it's a real one. π
β¨ SYNOPSIS β¨
...bestie. there is nothing here. not one line. the synopsis is giving absolutely nothing and honestly? iconic behavior. no cap. π«₯π
πΈ DESCRIPTION πΈ
so basically this module is a subclass of DBIx::SearchBuilder::Handle β meaning it inherits all the normal Handle energy but then goes and compensates for some of the idiosyncrasies of SQLite. she's the handler that shows up specifically to deal with SQLite being SQLite. a translator. a diplomat. a bestie who knows how to talk to the weird one at the party. π¦
π METHODS π
π DatabaseVersion
gives you the version of the SQLite library being used, like for example "2.8.0". and here's the tea: SQLite can only return short variant. that's it, that's the whole deal β short and sweet, no long-form version drama. β
π Insert
she takes a table name as the first argument, and then she just assumes everything after that is an array of key-value pairs to be inserted. bold of her, but go off. π
so what comes back?
- if the insert succeeds β you get the id of the insert back π₯
- if the insert fails β you get a
Class::ReturnValueobject back with the error reported π
either way you're gonna know what happened. no silent L's here.
π§ CaseSensitive
returns undef, full stop. why? because SQLite's searches are not case sensitive by default. she's not being rude, she's being honest. undef is the answer and she's sticking to it. π
π DistinctCount STATEMENTREF
takes an incomplete SQL SELECT statement and massages it β yes, massages, that's the actual word and honestly it ate β so that it returns a DISTINCT result count. she takes your half-finished SELECT and turns it into a glow-up. main character energy fr fr. π
π¦ SimpleDateTimeFunctions
returns a hash reference packed with the specific date time functions of this database, all for "DateTimeFunction" in DBIx::SearchBuilder::Handle. so when the parent module asks "hey what do date functions look like around here," this is the answer she hands over. π
lowkey reminder bestie: everything above is the whole module. it's small, it's focused, and it does exactly what it says. no hidden lore. periodt. π
and that's a wrap on this lil doc, written by the lovely humans behind perl v5.40.1 and stamped 2026-05-07. thank you for coming to my TED talk, mwah ππβ¨
π¦ where this page comes from
- ubuntu stonking: libdbix-searchbuilder-perl 1.85-1 Β· 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