Jason W. May > DBIx-Librarian-0.4 > DBIx::Librarian::Statement::SelectOne

Download:
DBIx-Librarian-0.4.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
Report a bug
Module Version: 0.4   Source   Latest Release: DBIx-Librarian-0.6

NAME ^

DBIx::Librarian::Statement::SelectOne - non-strict single-row SELECT statement

DESCRIPTION ^

SELECT statement that expects to retrieve exactly one record from the database, but might find none. An exception is raised if more than one row is found.

By default, all values fetched will be stored in top-level scalars in the data hash. If ALLARRAYS is set, results will be stored as element zero in a list for each field.

AUTHOR ^

Jason W. May <jmay@pobox.com>

COPYRIGHT ^

Copyright (C) 2001 Jason W. May. All rights reserved. This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.