Name
File::DataClass::Result - Result object definition
Synopsis
Description
This is analogous to the result object in DBIx::Class
Configuration and Environment
Defines these attributes
- id
-
An additional attribute added to the result to store the underlying hash key
- result_source
-
An object reference to the File::DataClass::ResultSource instance for this result object
Subroutines/Methods
BUILDARGS
Replaces the deprecated name
attribute with id
BUILD
Creates accessors and mutators for the attributes defined by the schema class
delete
$result->delete;
Calls the delete method in the storage class
insert
$result->insert;
Calls the insert method in the storage class
name
$result->name;
Defined as an alias for the id
attribute, use of this attribute is deprecated
update
$result->update;
Calls the update method in the storage class
Diagnostics
None
Dependencies
Incompatibilities
There are no known incompatibilities in this module
Bugs and Limitations
There are no known bugs in this module. Please report problems to the address below. Patches are welcome
Author
Peter Flanigan, <Support at RoxSoft.co.uk>
License and Copyright
Copyright (c) 2014 Peter Flanigan. All rights reserved
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perlartistic
This program is distributed in the hope that it will be useful, but WITHOUT WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE