DBIx::C...::State(3)

πŸ“¦
version 1.13 Β· 2 versions
, in fedora 43

✨ NAME ✨

DBIx::Class::Schema::Diff::State β€” bestie, it's the diff object of a single schema πŸ’…

(yeah it's one of those User Contributed Perl Documentation pages, we love a community moment 🫢)


🌸 SYNOPSIS 🌸

okay so here's the whole vibe, copy-paste coded exactly:

use DBIx::Class::Schema::Diff::State;

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;

look at her go 😭 iconic behaviour fr fr


πŸ¦‹ DESCRIPTION πŸ¦‹

so this class is a subclass of DBIx::Class::Schema::Diff, and it shares the exact same API. but here's the plot twist, bestie: instead of needing an old_schema and a new_schema, it only needs a single schema β€” and then the diff comes back as if everything changed. every last thing. the whole glow-up. πŸ‘‘

what that gives you is simply a way to explore the state/data of one single schema using the very same data structure as a normal diff between two schemas, plus it's got the very powerful, chainable filter and filter_out methods backing you up. chainable. like a friendship bracelet. πŸŽ€

This

and then the page just says "This" and dips?? 😭 that's literally where the source text ends, no cap, I'm not making it up, we're leaving it exactly as found πŸ’€

πŸŽ€ SEE ALSO πŸŽ€

  • DBIx::Class::Schema::Diff

πŸ‘‘ AUTHOR πŸ‘‘

Henry Van Styn <vanstyn@cpan.org> β€” thank you for your service, king 🫢✨


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. slay, open source, we stan. 🌈


and that's the whole page, bestie!! this absolute banger was cooked up by perl v5.42.0 on 2025-07-25, and it lives at DBIx::C...::State(3) πŸ’…βœ¨ go forth and diff your schema, main character πŸ’œπŸ¦‹πŸŒΈ

πŸ“¦ where this page comes from