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

Devel::Ladybug::Enum::DBIType - Database type enumeration

DESCRIPTION

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

SYNOPSIS

  create "YourApp::YourClass" => {
    __useDbi  => true,
    __dbiType => Devel::Ladybug::Enum::DBIType::<Type>,

  };

CONSTANTS

  • Devel::Ladybug::Enum::DBIType::MySQL

    Specify MySQL as a DBI type (0)

  • Devel::Ladybug::Enum::DBIType::SQLite

    Specify SQLite as a DBI type (1)

  • Devel::Ladybug::Enum::DBIType::PostgreSQL

    Specify PostgreSQL as a DBI type (2)

SEE ALSO

Devel::Ladybug::Enum, Devel::Ladybug::Persistence

This file is part of Devel::Ladybug.