DBIx::C...terBase(3)
okay so bestie, welcome to the DBIx::Class::Storage::DBI::InterBase page from the User Contributed Perl Documentation π this is the driver tea, and Iβm gonna spill it without losing a single crumb β¨
π NAME π
DBIx::Class::Storage::DBI::InterBase β Driver for the Firebird RDBMS via DBD::InterBase
π DESCRIPTION π
This driver is a subclass of DBIx::Class::Storage::DBI::Firebird::Common for use with DBD::InterBase; go see that driver for the general details, bestie.
You need to use either the disable_sth_caching option or connect_call_use_softcommit (see CAVEATS) for your code to function correctly with this driver. Otherwise you will likely get bizarre error messages such as "no statement executing". The alternative is to use the ODBC driver, which is more suitable for long running processes such as under Catalyst.
To turn on DBIx::Class::InflateColumn::DateTime support, see connect_call_datetime_setup.
π οΈ connect_call_use_softcommit π οΈ
Used as:
on_connect_call => 'use_softcommit'
In connect_info to set the DBD::InterBase ib_softcommit option.
You need either this option or disable_sth_caching => 1 for DBIx::Class code to function correctly (otherwise you may get "no statement executing" errors.) Or use the ODBC driver.
β οΈ downside alert: with this option, your process will NOT seeUPDATEs,INSERTsandDELETEsfrom other processes for already open statements. no cap, thatβs the tradeoff π
π°οΈ connect_call_datetime_setup π°οΈ
Used as:
on_connect_call => 'datetime_setup'
In connect_info to set the date and timestamp formats using:
$dbh->{ib_time_all} = 'ISO';
See DBD::InterBase for more details.
The TIMESTAMP data type supports up to 4 digits after the decimal point for second precision. The full precision is used.
The DATE data type stores the date portion only, and it MUST be declared with:
data_type => 'date'
in your Result class.
Timestamp columns can be declared with either "datetime" or "timestamp".
You will need the DateTime::Format::Strptime module for inflation to work.
For DBIx::Class::Storage::DBI::ODBC::Firebird, this is a noop.
π CAVEATS π
- with
connect_call_use_softcommit, you will not be able to see changes made to data in other processes. If this is an issue, usedisable_sth_cachingas a workaround for the"no statement executing"errors, this of course adversely affects performance.
Alternately, use the ODBC driver.
π«Ά FURTHER QUESTIONS? π«Ά
Check the list of additional DBIC resources.
π 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.
π thatβs the whole page, bestie! source/version + date sign-off: perl v5.42.0, 2025-01-22, page tag DBIx::C...terBase(3) β mwah ππ«Ά
π¦ 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