|
NAMEDBIx::Class::Schema::AuditLog::StructureVERSIONversion 0.6.4current_changesetReturns the changeset that is currently in process.This is localized to the scope of each transaction. audit_log_create_changesetCreates a new Changeset for audited Actions.Will create a new Audit Log User if ncessary. audit_log_create_actionCreates a related Action for the current Changeset.Also will create an AuditedTable for the new action if it doesn't already exist. get_changesReturns 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: action_types: array ref of action types: [ delete, insert, update ] change_order: sets the order to return the results, either asc, or desc defaults to desc field: name of the field that was audited created_on: timestamp of the changeset to search by takes a standard dbic where clause for a field, eg: '2012-07-09-15.25.18' or { '>=' , '2012-07-09-15.25.18; } the timestamp must already be in the format that the database stores in AUTHORMark Jubenville <ioncache@cpan.org>COPYRIGHT AND LICENSEThis 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.
Visit the GSP FreeBSD Man Page Interface. |