DBIx::C...Informix(3)
okay bestie, welcome to the DBIx::C...Informix(3) page β yep, thatβs the manual name, and this whole thing comes from the User Contributed Perl Documentation β¨. Itβs giving βwe are about to understand Informix storage support togetherβ energy, and honestly? We love that for us π
.
β¨ NAME β¨
DBIx::Class::Storage::DBI::Informix β Base Storage Class for Informix Support π«Ά
π DESCRIPTION π
This class implements storage-specific support for the Informix RDBMS. No cap, thatβs the whole vibe of this one: itβs the storage class doing Informix-specific support things π.
π METHODS π
π connect_call_datetime_setup π
Used as:
on_connect_call => 'datetime_setup'
In connect_info to set the "DATE" and "DATETIME" formats.
Sets the following environment variables:
GL_DATE="%m/%d/%Y"
GL_DATETIME="%Y-%m-%d %H:%M:%S%F5"
The DBDATE and DBCENTURY environment variables are cleared π§Ή.
NOTE: setting theGL_DATEenvironment variable seems to have no effect after the process has started, so the default format is used. TheGL_DATETIMEsetting does take effect however.
The DATETIME data type supports up to 5 digits after the decimal point for second precision, depending on how you have declared your column. The full possible precision is used.
The column declaration for a DATETIME with maximum precision is:
column_name DATETIME YEAR TO FRACTION(5)
The DATE data type stores the date portion only, and it MUST be declared with:
data_type => 'date'
in your Result class.
You will need the DateTime::Format::Strptime module for inflation to work π¦.
π¬ FURTHER QUESTIONS? π¬
Check the list of additional DBIC resources. Periodt π .
π COPYRIGHT AND LICENSE π
This module is free software copyright by the DBIx::Class (DBIC) authors. You can redistribute it and/or modify it under the same terms as the DBIx::Class library.
xoxo π β with love from perl v5.42.0, dated 2025-01-22.
π¦ where this page comes from
- opensuse-leap 16.0: perl-DBIx-Class 0.082844-bp160.1.10 Β· Artistic-1.0 OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms