The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Redis::Object::Table - Base class for Redis::Object tables

DESCRIPTION

Base class for all tables.

SYNOPSIS

See Redis::Object

ATTRIBUTES

id

Every item has an "id" field. Do not overwrite it

METHODS

update [$attr_ref]

Commit all changes in the object to Redis

$attr_ref

Optional hash of ( attribname => value )

increment $attrib_name, [$amount]

Increment an attribute.

$attrib_name

Name of the attribute to increment

$amount

Optional amount, defaults to 1

remove

Remove the item from the database

table_name

Returns the table name

AUTHOR

Ulrich Kautz <uk@fortrabbit.de>

COPYRIGHT

Copyright (c) 2011 the "AUTHOR" as listed above

LICENCSE

Same license as Perl itself.