Query: dbix::class::storage::dbi::sqlanywhere
OS: mojave
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
DBIx::Class::Storage::DBI::SQLAnywhere(3) User Contributed Perl Documentation DBIx::Class::Storage::DBI::SQLAnywhere(3)NAMEDBIx::Class::Storage::DBI::SQLAnywhere - Driver for SQL AnywhereDESCRIPTIONThis class implements autoincrements for SQL Anywhere and provides DBIx::Class::InflateColumn::DateTime support and support for the "uniqueidentifier" type (via DBIx::Class::Storage::DBI::SQLAnywhere::Cursor.) You need the "DBD::SQLAnywhere" driver that comes with the SQL Anywhere distribution, NOT the one on CPAN. It is usually under a path such as: /opt/sqlanywhere11/sdk/perl Recommended connect_info settings: on_connect_call => 'datetime_setup'METHODSconnect_call_datetime_setup Used as: on_connect_call => 'datetime_setup' In connect_info to set the date and timestamp formats (as temporary options for the session) for use with DBIx::Class::InflateColumn::DateTime. The "TIMESTAMP" data type supports up to 6 digits after the decimal point for second precision. The full precision is used. The "DATE" data type supposedly stores hours and minutes too, according to the documentation, but I could not get that to work. It seems to only store the date. You will need the DateTime::Format::Strptime module for inflation to work.MAXIMUM CURSORSA DBIx::Class application can use a lot of cursors, due to the usage of prepare_cached. The default cursor maximum is 50, which can be a bit too low. This limit can be turned off (or increased) by the DBA by executing: set option max_statement_count = 0 set option max_cursor_count = 0 Highly recommended.AUTHORSee "AUTHOR" in DBIx::Class and "CONTRIBUTORS" in DBIx::Class.LICENSEYou may distribute this code under the same terms as Perl itself. perl v5.18.2 2013-12-16 DBIx::Class::Storage::DBI::SQLAnywhere(3)
Similar Topics in the Unix Linux Community |
---|
DataBase Online Or Not |
DBIx::Perlish 0.40 (Default branch) |
DBIx::Perlish 0.41 (Default branch) |
DBIx::Perlish 0.43 (Default branch) |
DBIx::Perlish 0.46 (Default branch) |