The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

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.