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
dbix::class::kiokudb(3pm) - debian
kiokudb::entry(3pm) - debian
kiokudb::typemap(3pm) - debian
kiokudb::typemap::composite(3pm) - debian
kiokudb::typemap::entry::mop(3pm) - debian
Similar Topics in the Unix Linux Community
Installing Dash Shell on OS X Lion
awk or sed - Convert 2 lines to 1 line
Introduction
Find columns in a file based on header and print to new file
Weird 'find' results