Jifty:...Oracle(3pm)
π Jifty:...Oracle π
okay bestie, this is a page from the User Contributed Perl Documentation section of the manual, and it's all about Jifty:...Oracle(3pm). yes the title has three dots in it, no i don't know why, we move π
β¨ NAME β¨
Jifty::DBI::Handle::Oracle β an Oracle-specific Handle object. that's it, that's the whole name section, short and iconic π
πΈ SYNOPSIS πΈ
not me showing up to the SYNOPSIS section with literally nothing in it π the original page has no synopsis, so bestie, we have no synopsis. it's giving minimalism. it's giving mystery. go read DESCRIPTION instead π¦
π« DESCRIPTION π«
so this module is a subclass of Jifty::DBI::Handle, right? and its whole job is to compensate for some of the idiosyncrasies of Oracle. like, Oracle is that one friend who does things their own way and everyone else just has to adapt. this module is the adapt. no cap. π
π METHODS π
π connect PARAMHASH: Driver, Database, Host, User, Password
takes a paramhash (yes, a hash full of params) and connects you to your DBI datasource. plug in, bestie πβ¨
π¦ database_version
returns the value of the ORA_OCI constant. if you wanna know more, go peek at "Constants" in DBD::Oracle. iykyk π
π insert
takes a table name as the first argument, and then it just assumes the rest of the arguments are an array of key-value pairs that need to be inserted. very "trust the process" of it π
π§ build_dsn PARAMHASH
takes a bunch of parameters, and here's the tea:
- Required:
Driver,DatabaseorHost/SID - Optional:
PortandRequireSSL
and then it builds a dsn suitable for an Oracle DBI connection. the whole point. the main character moment. slay π
π blob_params column_NAME column_type
returns a hash ref for the bind_param call, so it can identify the BLOB types your current database uses for a particular column type. and heads up: the current Oracle implementation only supports ORA_CLOB types (112). that's the number, that's the limit, periodt π
πΈ apply_limits STATEMENTREF ROWS_PER_PAGE FIRST_ROW
takes an SQL SELECT statement and massages it (yes, massages it, the manpage said so and i am not changing it) so it returns ROWS_PER_PAGE starting with FIRST_ROW. so you get your lil page of rows, exactly where you want them π
β distinct_query STATEMENTREF
takes an incomplete SQL SELECT statement and massages it into returning a DISTINCT result set. incomplete in, distinct out. glow-up fr fr β¨
π AUTHOR π
Jesse Vincent, jesse@fsck.com β shoutout to the author, we love a credited icon π«Ά
π₯ SEE ALSO π₯
Jifty::DBIJifty::DBI::HandleDBD::Oracle
π quick reminder bestie: keep those Oracle quirks in mind, because this whole module exists specifically because Oracle does things Oracle's way. the vibes are chill but the behaviour is what it is π
okay and that's the whole page!! this one shipped as perl v5.34.0, dated 2022-06-15, and it lives under Jifty:...Oracle(3pm) in the User Contributed Perl Documentation. bye bestie, go connect to a database responsibly ππβ¨
π¦ 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