NAME

OP::Enum::DBIType - Database type enumeration

DESCRIPTION

Uses OP::Enum to provide constants which are used to specify database types. The mix-in OP::Persistence class method __dbiType() should be overridden in a subclass to return one of the constants in this package.

SYNOPSIS

use OP::Enum::DBIType;

sub __dbiType($) {
  my $class = shift;

  return OP::Enum::DBIType::MySQL;
}

CONSTANTS

  • OP::Enum::DBIType::MySQL

    Specifies MySQL as a DBI type

  • OP::Enum::DBIType::SQLite

    Specifies SQLite as a DBI type

SEE ALSO

OP::Enum, OP::Persistence

This file is part of OP.