DBIx-QuickORM
view release on metacpan or search on metacpan
}
};
};
Variants can be fetched using the colon : in the name:
my $pg_orm = orm('my_orm:pgsql');
my $mysql_orm = orm('my_orm:mysql');
This works in orm(), db(), schema(), table(), and row() builders. It
does cascade, so if you ask for the mysql variant of an ORM, it will
also give you the mysql variants of the database, schema, tables and
rows.
Can be nested under any builder. Can contain whatever the builder it
is nested under can contain.
db $NAME
db $NAME => sub { ... }
}
};
};
Variants can be fetched using the colon `:` in the name:
my $pg_orm = orm('my_orm:pgsql');
my $mysql_orm = orm('my_orm:mysql');
This works in `orm()`, `db()`, `schema()`, `table()`, and `row()` builders. It does
cascade, so if you ask for the `mysql` variant of an ORM, it will also give you
the `mysql` variants of the database, schema, tables and rows.
Can be nested under any builder. Can contain whatever the builder it is nested
under can contain.
- `db $NAME`
- `db $NAME => sub { ... }`
- `$db = db $NAME`
- `$db = db $NAME => sub { ... }`
lib/DBIx/QuickORM.pm view on Meta::CPAN
}
};
};
Variants can be fetched using the colon C<:> in the name:
my $pg_orm = orm('my_orm:pgsql');
my $mysql_orm = orm('my_orm:mysql');
This works in C<orm()>, C<db()>, C<schema()>, C<table()>, and C<row()> builders. It does
cascade, so if you ask for the C<mysql> variant of an ORM, it will also give you
the C<mysql> variants of the database, schema, tables and rows.
Can be nested under any builder. Can contain whatever the builder it is nested
under can contain.
=item C<< db $NAME >>
=item C<< db $NAME => sub { ... } >>
=item C<< $db = db $NAME >>
( run in 2.298 seconds using v1.01-cache-2.11-cpan-f56aa216473 )