DBIx::StORM::SQLDriver |
DBIx:: | |
Variables | |
$WHERE | |
$ORDER | |
$UPDATE | |
Functions | |
new | |
_fetch_primary_key | |
primary_key | |
foreign_keys (instance) | Return a set of foreign keys in this table that point to primary keys in other tables and cache the result. |
_fetch_foreign_keys (instance) | Return a set of foreign keys in this table that point to primary keys in other tables. |
add_hint | |
_build_columns | |
do_insert | |
_last_insert_id | |
do_query | |
table_exists | |
table_list | |
build_table_mapping | |
opcode_map | |
_flatten_where | |
_flatten_order | |
_flatten_update | |
_prepare_bind_params | |
_final_fixup | |
_identifier_quote | |
_string_quote |
sub foreign_keys
Return a set of foreign keys in this table that point to primary keys in other tables and cache the result.
This is a wrapper around <_fetch_foreign_keys> which offers cachine of table information. It is not normally necessary to override this method.
$table | The DBIx::StORM::Table object to get foreign keys for |
HashRef | A mapping of foreign keys keys to primary key values. Each key is a field name, and each value is a string of the format “table_name->field_name” |
=end NaturalDocs
sub _fetch_foreign_keys
Return a set of foreign keys in this table that point to primary keys in other tables.
This is the generic method that uses DBI’s foreign_key_info(), and is intended to be overridden when the DBI DBD doesn’t provide a working method for this call.
$table | The DBIx::StORM::Table object to get foreign keys for |
Hash | A mapping of foreign keys keys to primary key values. Each key is a field name, and each value is a string of the format “table_name->field_name” |
=end NaturalDocs
our $WHERE
our $ORDER
our $UPDATE
sub new
sub _fetch_primary_key
sub primary_key
Return a set of foreign keys in this table that point to primary keys in other tables and cache the result.
sub foreign_keys
Return a set of foreign keys in this table that point to primary keys in other tables.
sub _fetch_foreign_keys
sub add_hint
sub _build_columns
sub do_insert
sub _last_insert_id
sub do_query
sub table_exists
sub table_list
sub build_table_mapping
sub opcode_map
sub _flatten_where
sub _flatten_order
sub _flatten_update
sub _prepare_bind_params
sub _final_fixup
sub _identifier_quote
sub _string_quote