DBIx::SQLEngine::Driver::Trait::NoColumnTypes - For Type-less Databases


DBIx-SQLEngine documentation Contained in the DBIx-SQLEngine distribution.

Index


Code Index:

NAME

Top

DBIx::SQLEngine::Driver::Trait::NoColumnTypes - For Type-less Databases

SYNOPSIS

Top

  # Classes can import this behavior if they don't have types
  use DBIx::SQLEngine::Driver::Trait::NoColumnTypes ':all';

DESCRIPTION

Top

This package supports SQL database servers which do natively provide any column types, storing all numeric and string values in the same way.

About Driver Traits

You 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.

ADVANCED CAPABILITIES

Top

Database Capability Information

The following methods are provided:

dbms_column_types_unsupported
  $sqldb->dbms_column_types_unsupported () : 1

Capability Limitation: This driver does not store column type information or enforce type restrictions.

SEE ALSO

Top

See 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.


DBIx-SQLEngine documentation Contained in the DBIx-SQLEngine distribution.
########################################################################

package DBIx::SQLEngine::Driver::Trait::NoColumnTypes;

use Exporter;
sub import { goto &Exporter::import } 
@EXPORT_OK = qw( 
  dbms_column_types_unsupported
);
%EXPORT_TAGS = ( all => \@EXPORT_OK );

use strict;
use Carp;

########################################################################

########################################################################

sub dbms_column_types_unsupported { 1 }

########################################################################

########################################################################

1;