logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

SQL::Translator::Schema::Role::Compare - compare objects

Description

       This Moo::Role provides a method to compare if two objects are the same.

Methods

equals
       Determines if this object is the same as another.

         my $isIdentical = $object1->equals( $object2 );

perl v5.40.0                                       2024-11-23             SQL::Translator...::Role::Compare(3pm)

Name

       SQL::Translator::Schema::Role::Compare - compare objects

Synopsis

           package Foo;
           use Moo;
               with qw(SQL::Translator::Schema::Role::Compare);

               $obj->equals($other);

See Also