DBIx::Class::Schema::AuditLog::Structure
version 0.2.2
Returns the changeset that is currently in process.
This is localized to the scope of each transaction.
Creates a new Changeset for audited Actions.
Will create a new Audit Log User if ncessary.
Creates a related Action for the current Changeset.
Also will create an AuditedTable for the new action if it doesn't already exist.
Returns DBIC resultset of audit changes.
Takes a passed options hashref.
Required: id: row id from the table that was audited table: name of the table that was audited this must include the schema name for databases that have multiple schemas
Optional: field: name of the field that was audited action_types: array ref of action types: [ delete, insert, update ]
Mark Jubenville <ioncache@gmail.com>
This software is copyright (c) 2012 by Mark Jubenville.
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::AuditLog, copy and paste the appropriate command in to your terminal.
cpanm
cpanm DBIx::Class::AuditLog
CPAN shell
perl -MCPAN -e shell install DBIx::Class::AuditLog
For more information on module installation, please visit the detailed CPAN module installation guide.