DBIx::Class::CDBICompat::ColumnsAsHash(3) | User Contributed Perl Documentation | DBIx::Class::CDBICompat::ColumnsAsHash(3) |
DBIx::Class::CDBICompat::ColumnsAsHash - Emulates the behavior of Class::DBI where the object can be accessed as a hash of columns.
See DBIx::Class::CDBICompat for usage directions.
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};
If "DBIC_CDBICOMPAT_HASH_WARN" is true it will warn when a column is accessed as a hash key.
Check the list of additional DBIC resources.
This module is free software copyright by the DBIx::Class (DBIC) authors. You can redistribute it and/or modify it under the same terms as the DBIx::Class library.
2018-01-29 | perl v5.34.0 |