dbicdump
module to automate definition of a DBIx::Class::Schema
Install
- All systems
-
curl cmd.cat/dbicdump.sh
- Debian
-
apt-get install libdbix-class-schema-loader-perl
- Ubuntu
-
apt-get install libdbix-class-schema-loader-perl
- Kali Linux
-
apt-get install libdbix-class-schema-loader-perl
- Fedora
-
dnf install perl-DBIx-Class-Schema-Loader
- Windows (WSL2)
-
sudo apt-get update
sudo apt-get install libdbix-class-schema-loader-perl
- Raspbian
-
apt-get install libdbix-class-schema-loader-perl
- Dockerfile
- dockerfile.run/dbicdump
libdbix-class-schema-loader-perl
module to automate definition of a DBIx::Class::Schema
DBIx::Class::Schema::Loader is an extension to DBIx::Class that automates the definition of a DBIx::Class::Schema by scanning table schemas and setting up columns and primary keys appropriately. It supports MySQL, PostgreSQL, SQLite and DB2. Bare table definitions are fairly straightforward, but relationship creation is somewhat heuristic, especially with respect to choosing relationship types and names, as well as join types. The relationships generated by this module will probably never be as well-defined as hand-generated ones.