ICal::Storage -- API for storage of Net::ICal components.

Name

ICal::Storage — API for storage of Net::ICal components.

DESCRIPTION

This module describes the API used to access Net::ICal components from several different types of databases. Currently only a DBM implementation exists, but there will be at least an DBI implementation in the future.

This API has NOT yet stabilized. It could be completely different tomorrow.

METHODS

add ($comp)

Add (or replace) a Net::ICal::Component to the database

delete ($uid|$comp)

Remove a Net::ICal::Component from the database. You can specify which one by either giving its uid as a string, or passing in the object you want removed.

fetch ($query)

Return the objects that match the $query. $query is an SQLmin string in the format as described in the CAP draft.