The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Doodle::Schema::Helpers

ABSTRACT

Doodle Schema Helpers

SYNOPSIS

  use Doodle;
  use Doodle::Schema;

  my $ddl = Doodle->new;

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

DESCRIPTION

Helpers for configuring Schema classes.

LIBRARIES

This package uses type constraints from:

Doodle::Library

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 #1
  # given: synopsis

  $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 #1
  # given: synopsis

  $self->if_not_exists;

AUTHOR

Al Newkirk, awncorp@cpan.org

LICENSE

Copyright (C) 2011-2019, Al Newkirk, et al.

This is free software; you can redistribute it and/or modify it under the terms of the The Apache License, Version 2.0, as elucidated in the "license file".

PROJECT

Wiki

Project

Initiatives

Milestones

Contributing

Issues