Movatterモバイル変換


[0]ホーム

URL:


 / 
Siesta-0.66
River stage zero No dependents
/Siesta::DBI

NAME

Siesta::DBI - base class extending Class::DBI

DESCRIPTION

most things in the system will be a subclass of Siesta::DBI, giving

METHODS

load_alias( $name )

Sets the load_alias of a class to be $name. This is used in conjunction with ->load to provide a shortcut to a serialised item.

load( $id_or_name )

Attempt to retrieve an object using either it's well-known name or the row id.

It's used like so:

package User;use base 'Siesta::DBI';__PACKAGE__->load_alias( 'email' );# time passes ...my $user =  User->load( 'jay@front-of.quick.stop';

init_db

run the database creation script that lives in __DATA__

Module Install Instructions

To install Siesta, copy and paste the appropriate command in to your terminal.

cpanm

cpanm Siesta

CPAN shell

perl -MCPAN -e shellinstall Siesta

For more information on module installation, please visitthe detailed CPAN module installation guide.

Keyboard Shortcuts

Global
sFocus search bar
?Bring up this help dialog
GitHub
gpGo to pull requests
gigo to github issues (only if github is preferred repository)
POD
gaGo to author
gcGo to changes
giGo to issues
gdGo to dist
grGo to repository/SCM
gsGo to source
gbGo to file browse
Search terms
module: (e.g.module:Plugin)
distribution: (e.g.distribution:Dancer auth)
author: (e.g.author:SONGMU Redis)
version: (e.g.version:1.00)

[8]ページ先頭

©2009-2025 Movatter.jp