DBIx::SQLEngine::Driver::Trait::NoAdvancedFeatures - For Very Simple Databases


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

Index


Code Index:

NAME

Top

DBIx::SQLEngine::Driver::Trait::NoAdvancedFeatures - For Very Simple Databases

SYNOPSIS

Top

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

DESCRIPTION

Top

This package supports SQL database servers which do natively provide any advanced capabilities, like transactions, indexes, or stored procedures.

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_transactions_unsupported()
  $sqldb->dbms_transactions_unsupported() : 1

Capability Limitation: This driver does not support transactions.

dbms_indexes_unsupported()
  $sqldb->dbms_indexes_unsupported() : 1

Capability Limitation: This driver does not support indexes.

dbms_storedprocs_unsupported()
  $sqldb->dbms_storedprocs_unsupported() : 1

Capability Limitation: This driver does not support stored procedures.

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::NoAdvancedFeatures;

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

use strict;
use Carp;

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

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

sub dbms_transactions_unsupported    { 1 }

sub dbms_indexes_unsupported         { 1 }

sub dbms_storedprocs_unsupported     { 1 }

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

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

1;