DBIx::Class::DB - (DEPRECATED) classdata schema component
This class is designed to support the Class::DBI connection-as-classdata style for DBIx::Class. You are *strongly* recommended to use a DBIx::Class::Schema instead; DBIx::Class::DB will not undergo new development and will be moved to being a CDBICompat-only component before 1.0. In order to discourage further use, documentation has been removed as of 0.08000
Sets or gets the storage backend. Defaults to DBIx::Class::Storage::DBI.
****DEPRECATED****
Sets or gets the class to use for resolving a class. Defaults to DBIx::Class::ClassResolver::Passthrough, which returns whatever you give it. See resolve_class below.
__PACKAGE__->connection($dsn, $user, $pass, $attrs);
Specifies the arguments that will be passed to DBI->connect(...) to instantiate the class dbh when required.
Creates a class method ->schema_instance which contains a DBIx::Class::Schema; all class-method operations are proxies through to this object. If you don't call ->connection in your DBIx::Class::DB subclass at load time you *must* call ->setup_schema_instance in order for subclasses to find the schema and register themselves with it.
Begins a transaction (does nothing if AutoCommit is off).
Commits the current transaction.
Rolls back the current transaction.
Executes a block of code transactionally. If this code reference throws an exception, the transaction is rolled back and the exception is rethrown. See "txn_do" in DBIx::Class::Schema for more details.
Returns an instance of a resultset for this class - effectively mapping the Class::DBI connection-as-classdata paradigm into the native DBIx::Class::ResultSet system.
Returns an instance of the result source for this class
****DEPRECATED****
See class_resolver
****DEPRECATED****
Alias for txn_commit
****DEPRECATED****
Alias for txn_rollback
count, count_literal, create, find, find_or_create, find_or_new, search, search_like, search_literal, update_or_create
MODIFY_CODE_ATTRIBUTES, component_base_class, mk_classaccessor, mk_classdata
inject_base
ensure_class_found, ensure_class_loaded, load_components, load_optional_class, 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
count, count_literal, create, find, find_or_create, find_or_new, search, search_like, search_literal, update_or_create
MODIFY_CODE_ATTRIBUTES, component_base_class, mk_classaccessor, mk_classdata
inject_base
ensure_class_found, ensure_class_loaded, load_components, load_optional_class, 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.