Ado::Model - the base schema class.
This is the base class for using table records as plain Perl objects. The subclasses are:
Ado::Model inherits all methods from DBIx::Simple::Class and implements the following ones.
Generates classes from tables on the fly and returns the classname.
state $table_class = Ado::Model->table_to_class( namespace => 'Foo', # defaults to Ado::Model table => 'pages', type => 'TABLE' );
Returns an array of records.
my @users = Ado::Model::Users->select_range(2); #users 1, and 2 my @users = Ado::Model::Users->select_range(2,4); #users 3, and 4
DBIx::Simple::Class::Schema
DBIx::Simple::Class::Schema, DBIx::Simple::Class, DBIx::Simple, Mojolicious::Plugin::DSC
Красимир Беров (Krasimir Berov)
Copyright 2013-2015 Красимир Беров (Krasimir Berov).
This program is free software, you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License v3 (LGPL-3.0). You may copy, distribute and modify the software provided that modifications are open source. However, software that includes the license may release under a different license.
See http://opensource.org/licenses/lgpl-3.0.html for more information.
To install Ado, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Ado
CPAN shell
perl -MCPAN -e shell install Ado
For more information on module installation, please visit the detailed CPAN module installation guide.