The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

DBIx::Librarian::Statement::SelectExactlyOne - strict one-row SELECT statement

DESCRIPTION

SELECT statement that expects to retrieve exactly one record from the database. An exception is raised if zero rows are found or if more than one row is found.

All values fetched will be stored in top-level scalars in the data hash.

AUTHOR

Jason W. May <jmay@pobox.com>

COPYRIGHT

Copyright (C) 2001-2003 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.