|
NAMEDBIx::SQLEngine::Driver::Trait::DatabaseFlavors - For minor variations in a databaseSYNOPSIS# Classes can import this behavior if they have further subclasses use DBIx::SQLEngine::Driver::Trait::DatabaseFlavors ':all'; DESCRIPTIONThis package supports configurations of drivers or database servers which differ from the generic implementation provided by their driver.Variations Within a Driver ClassBeyond the fundamental subclassing based on driver type lies a more subtle range of variations.How do we compensate for different versions of a database system? For example, newer versions of MySQL support a number of features that the old ones don't: transactions were added in 3.23 (for some table types); union selects were added in 4.0; and stored procedures are being added in 5.0. Similarly DBD::SQLite's functionality is limited by the version of the SQLite C library is in use, and DBD::AnyData's level of functionality depends on which version of SQL::Statement is installed. Similarly, how do we detect driver/server combinations that need extra help? For example, placeholders will fail for Linux users of DBD::Sybase connecting to MS SQL Servers on Windows, so they need a special subclass which uses the NoPlaceholders trait. This is handled by the "dbms_flavor" interface. When a flavor is selected, detected, or defaulted, the driver in question is reblessed into an appropriate subclass, such as Driver::MySQL::3_23, Driver::MySQL::5_0, or Driver::Sybase::MSSQL. About Driver TraitsYou do not need to use this package directly; it is used internally by those driver subclasses which need it.For more information about Driver Traits, see "About Driver Traits" in DBIx::SQLEngine::Driver. INTERNAL CONNECTION METHODS (DBI DBH)Initialization and Reconnection
DRIVER AND DATABASE FLAVORSDetecting DBMS Flavors
Applying DBMS Flavors
SEE ALSOSee DBIx::SQLEngine for the overall interface and developer documentation.See DBIx::SQLEngine::Docs::ReadMe for general information about this distribution, including installation and license information.
Visit the GSP FreeBSD Man Page Interface. |