DBIO-Firebird

 view release on metacpan or  search on metacpan

lib/DBIO/Firebird/Storage/InterBase.pm  view on Meta::CPAN

  on_connect_call => 'datetime_setup'

In L<connect_info|DBIO::Storage::DBI/connect_info> to set the date and
timestamp formats using:

  $dbh->{ib_time_all} = 'ISO';

Every connection of this storage does that by itself, before the
caller's C<on_connect_*> actions run: without it L<DBD::Firebird> reads a
timestamp back in the locale's C<%c> format ("Mon 19 Oct 2026 04:43:18 AM
CET"), which the parser of this driver does not expect. This call does the
same and is harmless twice; an action of your own that sets another
C<ib_time_all> comes after the default and wins.

See L<DBD::InterBase> for more details.

The C<TIMESTAMP> data type supports up to 4 digits after the decimal point for
second precision. The full precision is used.

The C<DATE> data type stores the date portion only, and it B<MUST> be declared
with:



( run in 0.525 second using v1.01-cache-2.11-cpan-1bcd28dbaf1 )