Tangra...:SQLite(3pm)
β¨ Tangra...:SQLite β¨
okay bestie, come SIT DOWN because this one is a whole vibe π it lives in the User Contributed Perl Documentation corner of the manual, and it's giving "tiny database, big feelings" π¦
πΈ NAME πΈ
Tangram::Driver::SQLite β Orthogonal Object Persistence in SQLite databases π
β¨ SYNOPSIS β¨
no thoughts, just copy-paste energy, iykyk π
use Tangram;
use Tangram::Driver::SQLite;
$schema = Tangram::Driver::SQLite->schema( $hashref );
Tangram::Driver::SQLite->deploy($schema, $dbh);
$storage = Tangram::Driver::SQLite->connect( $schema,
$data_source, $username, $password );
$storage->disconnect();
Tangram::Driver::SQLite->retreat($schema, $dbh);
π DESCRIPTION π
So likeβ¦ this is THE entry point into the SQLite-specific object-relational persistence backend. That's it. That's the whole thing. It's the front door, the main character, the gateway πͺβ¨
π«Ά ERRATA π«Ά
ngl there's some lore here and you're gonna wanna hear it.
- For reasons similar to the
Tangram::Driver::Pgmodule, this back-end automatically encodesTangram::Type::Dump::Storableobjects viaMIME::Base64β this is so values don't get truncated on NUL bytes π no truncation in this house, periodt. - Also, bestieβ¦ plot twist: despite what it says on the front page of
www.sqlite.org, SQLite is not actually an ACID database π any writer to the database has to wait for all the other writers to finish before they can begin their transaction. the way that literally bottlenecks everythingβ¦ π
π¨ So make sure you start and complete your transactions as quickly as possible with this back-end. fast in, fast out, no lingering, we don't do that here π§
and that's the whole page, babe π hope you ate, because this backend is a snack π
perl v5.36.0 Β· 2022-10-16 Β· Tangra...:SQLite(3pm) π xoxo, go write some schemas π
π¦ where this page comes from
- ubuntu noble: libtangram-perl 2.12-4 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libtangram-perl 2.12-4 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libtangram-perl 2.12-4 Β· 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