Ulrich Kautz > Redis-Object-v0.1.2 > Redis::Object::Table

Download:
Redis-Object-v0.1.2.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Source  

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.

syntax highlighting: