Jifty:...Sybase(3pm)
π NAME π
Jifty::DBI::Handle::Sybase β a Sybase specific Handle object π¦
okay so real quick, the manual name on this one is User Contributed Perl Documentation (iykyk, it's a 3pm page, a Perl module page), and bestie, we're about to get into some Sybase-specific handle business. no cap.
β¨ SYNOPSIS β¨
bestie there is literally nothing here π the SYNOPSIS section is empty. not one line. it's giving mystery, it's giving "figure it out from the methods". iconic of it honestly π
πΈ DESCRIPTION πΈ
so this module is a subclass of Jifty::DBI::Handle π
and what it does is compensate for some of the idiosyncrasies of Sybase. that's the whole vibe. Sybase is gonna Sybase, and this module is the friend who shows up with a hair tie and a plan. π«Ά
π METHODS π
π insert
takes a table name as the first argument, and then just assumes the rest of the arguments are an array of key-value pairs to be inserted. like, it trusts you. π
- if the insert succeeds, it returns the id of the insert β¨
- otherwise it returns a
Class::ReturnValueobject with the error reported π
π¦ database_version
returns the database version, and trims off any -foo identifier while it's at it. so fresh, so clean π§
π case_sensitive
returns undef, because Sybase's searches are not case sensitive by default. so yeah. undef. that's the answer. it said "no thoughts, head empty" π
π distinct_query STATEMENTREF
takes an incomplete SQL SELECT statement and massages it to return a DISTINCT result set. glow-up service, lowkey. β¨
π AUTHOR π
Jesse Vincent, jesse@fsck.com β ty bestie for your service π«‘πΈ
β SEE ALSO β
Jifty::DBIJifty::DBI::HandleDBD::Sybase
and that's the whole page, bestie π this was perl v5.34.0, dated 2022-06-15 β yes she's an older queen but she still ate π
β¨ periodt.
π¦ where this page comes from
- debian bookworm: libjifty-dbi-perl 0.78-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- debian trixie: libjifty-dbi-perl 0.78-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libjifty-dbi-perl 0.78-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libjifty-dbi-perl 0.78-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libjifty-dbi-perl 0.78-3 Β· 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