Risk-Aware Code Review: Auto Approve Low-Risk Changes
LiveReview LiveReview LiveReview - Free, Risk-Aware Code Review: Auto Approve Low-Risk Changes | Product Hunt LiveReview - Free, Risk-Aware Code Review: Auto Approve Low-Risk Changes | Product Hunt GitHub Install Now

We'd appreciate a star

KiokuDB::Backend::Role::Query::Simple - Simple query api

Author

       Yuval Kogman <nothingmuch@woobling.org>

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.

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(...);
           }

Version

       version 0.57

See Also