debian man page for kiokudb::backend::role::query::simple

Query: kiokudb::backend::role::query::simple

OS: debian

Section: 3pm

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

KiokuDB::Backend::Role::Query::Simple(3pm)		User Contributed Perl Documentation		KiokuDB::Backend::Role::Query::Simple(3pm)

NAME
KiokuDB::Backend::Role::Query::Simple - Simple query api
SYNOPSIS
with qw(KiokuDB::Backend::Role::Query::Simple); sub simple_search { my ( $self, $proto ) = @_; # return all candidate entries in the root set matching fields in $proto return Data::Stream::Bulk::Foo->new(...); }
DESCRIPTION
This role requires a "simple_search" method to be implemented. The method accepts one argument, the hash of the proto to search for. This is still loosely defined, but the basic functionality is based on attribute matching: $kiokudb->search({ name => "Mia" }); will search for objects whose "name" attribute contains the string "Mia". More complex operations will be defined in the future. perl v5.12.4 2010-10-11 KiokuDB::Backend::Role::Query::Simple(3pm)
Related Man Pages
authen::simple(3pm) - debian
kiokudb::backend::role::txn(3pm) - debian
kiokudb::backend::role::txn::memory(3pm) - debian
kiokudb::typemap(3pm) - debian
kiokudb::typemap::entry::mop(3pm) - debian
Similar Topics in the Unix Linux Community
Introduction
One instance of comparing grep and awk
Weird 'find' results
New UNIX and Linux History Sections