1DBIx::Class::Schema::DiUfsfe:r:SCtoantter(i3b)uted PerlDDBoIcxu:m:eCnltaastsi:o:nSchema::Diff::State(3)
2
3
4

NAME

6       DBIx::Class::Schema::Diff::State - Diff object of a single schema
7

SYNOPSIS

9        use DBIx::Class::Schema::Diff::State;
10
11        my $State = DBIx::Class::Schema::Diff::State->new(
12         schema => $schema
13        );
14
15        $State = $State->filter_out('isa');
16
17        # Get all info about the schema as 'differences' (hash structure):
18        my $hash = $D->diff;
19
20        # Git a checksum/fingerprint of the schema state data:
21        my $checksum = $State->fingerprint;
22

DESCRIPTION

24       This class is a subclass of DBIx::Class::Schema::Diff and shares the
25       same API but instead of requiring a "old_schema" and a "new_schema", it
26       requires a single "schema" and then the "diff" is returned as if
27       *everything* changed.
28
29       This simply provides a way to explore the state/data of a single schema
30       using the same data structure as that of a normal diff between two
31       schemas, and supporting the very powerful, chainable "filter" and
32       "filter_out" methods.
33
34       This
35

SEE ALSO

37       •   DBIx::Class::Schema::Diff
38

AUTHOR

40       Henry Van Styn <vanstyn@cpan.org>
41
43       This software is copyright (c) 2020 by IntelliTree Solutions llc.
44
45       This is free software; you can redistribute it and/or modify it under
46       the same terms as the Perl 5 programming language system itself.
47
48
49
50perl v5.34.0                      2022-01-21DBIx::Class::Schema::Diff::State(3)
Impressum