- Sync/Backend Methods
- Small Parts
- NO WARRANTY
dtRdr::Annotation::IO::YAML - read/write annotations from/to yml files
%store = $self->_read_store($ext);
Return hashrefs for everything. This gets called by base class methods if it can't find a smarter way to search.
@items = $io->items;
Return the hashrefs for a given book.
@items = $io->items_for($book);
Likely to be replaced by something more general.
@items = $io->deleted;
Intended for non-object manipulations of the data-store, but keeping the internal IO object's state intact.
These should behave roughly like DBI operations with autocommit and raise_error.
$io->s_insert($id, $hashref, $book);
$io->s_update($id, $hashref, $book);
my $hashref = $io->x_read($id);
$object = $io->x_delete($id);
Eric Wilhelm <ewilhelm at cpan dot org>
Copyright (C) 2006 Eric L. Wilhelm and Osoft, All Rights Reserved.
Absolutely, positively NO WARRANTY, neither express or implied, is offered with this software. You use this software at your own risk. In case of loss, no person or entity owes you anything whatsoever. You have been warned.
The dotReader(TM) is OSI Certified Open Source Software licensed under the GNU General Public License (GPL) Version 2, June 1991. Non-encrypted and encrypted packages are usable in connection with the dotReader(TM). The ability to create, edit, or otherwise modify content of such encrypted packages is self-contained within the packages, and NOT provided by the dotReader(TM), and is addressed in a separate commercial license.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.