GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  TENG::PLUGIN::LOOKUP (3)

.ds Aq ’

NAME

Teng::Plugin::Lookup - lookup single row.

CONTENTS

NAME



    package MyDB;
    use parent qw/Teng/;
    __PACKAGE__->load_plugin(Lookup);

    package main;
    my $db = MyDB->new(...);
    $db->lookup(user => +{id => 1}); # => get single row



DESCRIPTION

This plugin provides fast lookup row .

METHODS

$row = $db->lookup($table_name, \%search_condition, [\%attr]); lookup single row records.

Teng#single is heavy.

NOTE: Unlike Teng#single, this method returns a blank list in list context when no desired records are found.

Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 TENG::PLUGIN::LOOKUP (3) 2016-04-03

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.