The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

KiokuDB::Backend::CouchDB - CouchDB backend for KiokuDB

SYNOPSIS

    KiokuDB->connect( "couchdb:uri=http://127.0.0.1:5984/database" );

DESCRIPTION

This backend provides KiokuDB support for CouchDB using AnyEvent::CouchDB.

Note that this is the slowest backend of all for reading data, due to the latency in communicating with CouchDB over HTTP.

TRANSACTION SUPPORT

Since CouchDB supports atomicity by using optimistic concurrency locking transactions are be implemented by deferring all operations until the final commit.

This means transactions are memory bound so if you are inserting or modifying lots of data it might be wise to break it down to smaller transactions.

ATTRIBUTES

db

An AnyEvent::CouchDB::Database instance.

Required.

create

Whether or not to try and create the database on instantiaton.

Defaults to false.

SEE ALSO

KiokuX::CouchDB::Role::View.

VERSION CONTROL

http://github.com/mzedeler/kiokudb-backend-couchdb

AUTHOR

Yuval Kogman <nothingmuch@woobling.org>

CONTRIBUTORS

Michael Zedeler <michael@zedeler.dk<gt>, Anders Bruun Borch <cyborch@deck.dk<gt>.

COPYRIGHT

    Copyright (c) 2008, 2009 Yuval Kogman, Infinity Interactive. All
    rights reserved This program is free software; you can redistribute
    it and/or modify it under the same terms as Perl itself.

    Copyright (c) 2010 Leasingbørsen. All rights reserved. This program
    is free software; you can redistribute it and/or modify it under 
    the same terms as Perl itself.

1 POD Error

The following errors were encountered while parsing the POD:

Around line 407:

Non-ASCII character seen before =encoding in 'Leasingbørsen.'. Assuming UTF-8