DBIx::Class::AuditAny::AuditContext::Change - Default 'Change' context object for DBIC::AuditAny
This is the class which represents a single captured change event, which could involve multiple columns.
Docs regarding the API/purpose of the attributes and methods in this class still TBD...
The Source context
The parent ChangeSet
The type of action which triggered this change: insert, update or delete, or the special action 'select' which is used to initialize tracked rows in the audit database
The column values of the row, -according to the db- *before* the change happens. This should be an empty hashref in the case of 'insert'
The column changes specified -by the change- (specified by the client/query). Note that this is different from 'new_columns' and probably doesn't contain all the columns. This should be an empty hashref in the case of 'delete' (TODO: would 'change_columns' a better name than 'to_columns'?)
The column values of the row, -according to the db- *after* the change happens. This should be an empty hashref in the case of 'delete'
The condition associated with this change, applies to 'update' and 'delete'
Boolean flag set to true once the change data has been recorded
DBIx::Class::AuditAny
DBIx::Class
IRC:
Join #rapidapp on irc.perl.org.
Henry Van Styn <vanstyn@cpan.org>
This software is copyright (c) 2012-2015 by IntelliTree Solutions llc.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install DBIx::Class::AuditAny, copy and paste the appropriate command in to your terminal.
cpanm
cpanm DBIx::Class::AuditAny
CPAN shell
perl -MCPAN -e shell install DBIx::Class::AuditAny
For more information on module installation, please visit the detailed CPAN module installation guide.