Skip to content
DBIx::Schmea::DSL generator
Perl
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
lib/DBIx/Schema/DSL
t
.gitignore
.travis.yml
Build.PL
Changes
LICENSE
META.json
README.md
cpanfile
minil.toml

README.md

CAUTION

THIS MODULE IS NOT MAINTAINED ANYMORE. PLEASE USE SQL::Translator::Producer::DBIxSchemaDSL INSTEAD.

NAME

DBIx::Schema::DSL::Dumper - DBIx::Schema::DSL generator

SYNOPSIS

use DBIx::Schema::DSL::Dumper;

print DBIx::Schema::DSL::Dumper->dump(
    dbh => $dbh,
    pkg => 'Foo::DSL',

    # Optional. Default values is same as follows.
    default_not_null => 0,
    default_unsigned => 0,

    # Optional.
    table_options => +{
        'mysql_table_type' => 'InnoDB',
        'mysql_charset'    => 'utf8',
    }
);

# or

print DBIx::Schema::DSL::Dumper->dump(
    dbh    => $dbh,
    tables => [qw/foo bar/],
);

DESCRIPTION

This module generates the Perl code to generate DBIx::Schema::DSL.

SEE ALSO

DBIx::Schema::DSL, Teng::Schema::Dumper

LICENSE

Copyright (C) Kenta, Kobayashi.

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

AUTHOR

Kenta, Kobayashi kentafly88@gmail.com

You can’t perform that action at this time.