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::StorageType - Storage type enumeration

DESCRIPTION

Uses Devel::Ladybug::Enum to provide constants which are used to specify backing store types. The class variables __useDbi and __useFlatfile should return one of the constants in this package.

SYNOPSIS

  create "YourApp::YourClass" => {
    __useFlatfile => Devel::Ladybug::StorageType::<Type>,
    __useDbi      => Devel::Ladybug::StorageType::<Type>,

  };

CONSTANTS

  • Devel::Ladybug::StorageType::None

    Specify no support (0)

  • Devel::Ladybug::StorageType::MySQL

    Specify MySQL as a DBI type (1)

  • Devel::Ladybug::StorageType::SQLite

    Specify SQLite as a DBI type (2)

  • Devel::Ladybug::StorageType::PostgreSQL

    Specify PostgreSQL as a DBI type (3)

  • Devel::Ladybug::StorageType::YAML

    Specify YAML as a flatfile type (1)

  • Devel::Ladybug::StorageType::JSON

    Specify JSON as a flatfile type (2)

SEE ALSO

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

This file is part of Devel::Ladybug.