DBIx::C...L_Server(3)
okay so bestie, this is DBIx::Class::Storage::DBI::Sybase::Microsoft_SQL_Server β support for Microsoft SQL Server via DBD::Sybase, hanging out in the User Contributed Perl Documentation corner of the universe. π
β¨
π NAME π
DBIx::Class::Storage::DBI::Sybase::Microsoft_SQL_Server β support for Microsoft SQL Server via DBD::Sybase. That's the whole name vibe. π«Ά
β¨ SYNOPSIS β¨
This subclass supports MSSQL server connections via DBD::Sybase. Slay. π
π¦ DESCRIPTION π¦
This driver tries to determine whether your version of DBD::Sybase and supporting libraries (usually FreeTDS) support using placeholders. If not, the storage will be reblessed to DBIx::Class::Storage::DBI::Sybase::Microsoft_SQL_Server::NoBindVars. Not me being dramatic β that's literally the rebless. π
The MSSQL specific functionality is provided by DBIx::Class::Storage::DBI::MSSQL. Iconic. π
π METHODS π
πΈ connect_call_datetime_setup πΈ
Used as:
on_connect_call => 'datetime_setup'
In connect_info to set:
$dbh->syb_date_fmt('ISO_strict'); # output fmt: 2004-08-21T14:36:48.080Z
On connection for use with DBIx::Class::InflateColumn::DateTime. β¨
This works for both DATETIME and SMALLDATETIME columns, although SMALLDATETIME columns only have minute precision. Important detail, bestie β minute precision only, no cap. β°
π FURTHER QUESTIONS? π
Check the list of additional DBIC resources. That's the move. π«Ά
π 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. Periodt. π
Final vibe check: perl v5.42.0, 2025-01-22. Byeee ππ
π¦ 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