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

Doodle::Schema::Helpers

ABSTRACT

Doodle Schema Helpers

SYNOPSIS

  use Doodle::Schema;

  my $self = Doodle::Schema->new(
    name => 'app'
  );

DESCRIPTION

Helpers for configuring Schema classes.

METHODS

This package implements the following methods.

if_exists

  if_exists() : Schema

Used with the delete method to denote that the table should be deleted only if it already exists.

if_exists example
  $self->if_exists;

if_not_exists

  if_not_exists() : Schema

Used with the delete method to denote that the table should be deleted only if it already exists.

if_not_exists example
  $self->if_not_exists;