DBIx::Class::PK - Primary Key class
This class contains methods for handling primary keys and methods depending on them.
Re-selects the row from the database, losing any changes that had been made.
This method can also be used to refresh from storage, retrieving any changes made since the row was last read from storage.
$attrs is expected to be a hashref of attributes suitable for passing as the second argument to $resultset->search($cond, $attrs);
Returns the primary key(s) for a row. Can't be called as a class method.
Returns a unique id string identifying a row object by primary key. Used by DBIx::Class::CDBICompat::LiveObjectIndex and DBIx::Class::ObjectCache.
my $cond = $result_source->ident_condition();
my $cond = $result_source->ident_condition('alias');
Produces a condition hash to locate a row based on the primary key(s).
MULTICREATE_DEBUG, copy, delete, get_column, get_columns, get_dirty_columns, get_from_storage, get_inflated_columns, has_column_loaded, in_storage, inflate_result, insert, insert_or_update, is_changed, is_column_changed, make_column_dirty, new, register_column, result_source, set_column, set_columns, set_inflated_columns, store_column, throw_exception, update, update_or_insert
MODIFY_CODE_ATTRIBUTES, component_base_class, mk_classaccessor, mk_classdata
inject_base, load_optional_class
ensure_class_found, ensure_class_loaded, load_components, load_optional_components, load_own_components
get_component_class, get_inherited, get_simple, get_super_paths, make_group_accessor, make_group_ro_accessor, make_group_wo_accessor, mk_group_accessors, mk_group_ro_accessors, mk_group_wo_accessors, set_component_class, set_inherited, set_simple
Matt S. Trout <mst@shadowcatsystems.co.uk>
You may distribute this code under the same terms as Perl itself.
Last modified:
POD_DERIVED_INDEX_GENERATED The following documentation is automatically generated. Please do not edit this file, but rather the original, inline with DBIx::Class::PK at blib/lib/DBIx/Class/PK.pm (on the system that originally ran this). If you do edit this file, and don't want your changes to be removed, make sure you change the first line.