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

DBIx::Class::CDBICompat::ColumnsAsHash - Emulates the behavior of Class::DBI where the object can be

Description

       Emulates the undocumented behavior of Class::DBI where the object can be accessed as a hash of columns.
       This is often used as a performance hack.

           my $column = $result->{column};

   DifferencesfromClass::DBI
       If "DBIC_CDBICOMPAT_HASH_WARN" is true it will warn when a column is accessed as a hash key.

Further Questions?

       Check the list of additional DBIC resources.

Name

       DBIx::Class::CDBICompat::ColumnsAsHash - Emulates the behavior of Class::DBI where the object can be
       accessed as a hash of columns.

Synopsis

       See DBIx::Class::CDBICompat for usage directions.

See Also