NAME
PONAPI::DAO::Constants - PONAPI - Perl implementation of {JSON:API} (http://jsonapi.org/) v1.0
VERSION
version 0.001000
SYNOPSIS
use PONAPI::DAO::Constants;
sub update {
...
return $updated_more_rows_than_requested
? PONAPI_UPDATED_EXTENDED
: PONAPI_UPDATED_NORMAL;
}
NAME
PONAPI::DAO::Constants - Constants used by PONAPI::DAO and PONAPI repositories
EXPORTS
PONAPI_UPDATED_NORMAL
The update-like operation did as requested, as no more.
PONAPI_UPDATED_EXTENDED
The update-like operation did more than requested; maybe it added rows, or updated another related table.
PONAPI_UPDATED_NOTHING
The update-like operation was a no-op. This can happen in a SQL implementation when modifying a resource that doesn't exist, for example.
AUTHOR
Mickey Nasriachi <mickey AT cpan DOT org>, Stevan Little <stevan AT cpan DOT org>, Brian Fraser <hugmeir AT cpan DOT org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2015 by Mickey Nasriachi, Stevan Little, Brian Fraser.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.