NAME
DBIx::Class::Schema::Diff::State - Diff object of a single schema
SYNOPSIS
my
$State
= DBIx::Class::Schema::Diff::State->new(
schema
=>
$schema
);
$State
=
$State
->filter_out(
'isa'
);
# Get all info about the schema as 'differences' (hash structure):
my
$hash
=
$D
->diff;
# Git a checksum/fingerprint of the schema state data:
my
$checksum
=
$State
->fingerprint;
DESCRIPTION
This class is a subclass of DBIx::Class::Schema::Diff and shares the same API but instead of requiring a old_schema
and a new_schema
, it requires a single schema
and then the "diff" is returned as if *everything* changed.
This simply provides a way to explore the state/data of a single schema using the same data structure as that of a normal diff between two schemas, and supporting the very powerful, chainable filter
and filter_out
methods.
This
SEE ALSO
AUTHOR
Henry Van Styn <vanstyn@cpan.org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2020 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.