method
create

Related methods
- Class methods (8)
-
database_exists? (>= v6.0.0)
-
dbconsole (>= v7.1.3.2)
-
initialize_type_map
(>= v7.0.0)
-
new
-
new_client (>= v7.1.3.2)
-
represent_boolean_as_integer (>= v5.2.3)
-
represent_boolean_as_integer= (>= v6.0.0)
-
strict_strings_by_default (>= v7.1.3.2)
- Instance methods (131)
-
active?
-
adapter_name
-
add_belongs_to (>= v5.1.7)
-
add_column
-
add_reference (>= v5.1.7)
-
add_timestamps (>= v7.1.3.2)
-
all_foreign_keys_valid? (>= v7.0.0)
-
allowed_index_name_length
-
alter_table
-
arel_visitor (>= v5.0.0.1)
-
begin_db_transaction
-
bind_params_length
(>= v6.0.0)
-
build_insert_sql (>= v6.0.0)
-
build_statement_pool
(>= v6.0.0)
-
change_column
-
change_column_default
-
change_column_null
-
check_all_foreign_keys_valid! (>= v7.1.3.2)
-
check_version (>= v6.0.0)
-
clear_cache!
-
column_definitions
(>= v5.1.7)
-
columns
-
commit_db_transaction
-
configure_connection
(>= v5.1.7)
-
connect
(>= v6.0.0)
-
copy_table
-
copy_table_contents
-
copy_table_indexes
-
create
-
create_savepoint (<= v4.0.2)
-
create_table_definition
(>= v5.1.7)
-
database_exists? (>= v7.1.3.2)
-
data_source_exists? (>= v4.2.7)
-
data_sources (>= v4.2.7)
-
default_primary_key_type
(<= v4.0.2)
-
delete_sql
-
disable_referential_integrity (>= v5.1.7)
-
disconnect!
-
encoding
-
exec_delete
-
exec_query
-
exec_rollback_db_transaction (>= v4.2.1)
-
exec_update
-
execute
-
explain
-
extract_default_function
(>= v7.1.3.2)
-
extract_foreign_key_action
(>= v5.1.7)
-
extract_value_from_default
(>= v7.1.3.2)
-
foreign_keys (>= v5.1.7)
-
get_database_version (>= v6.0.0)
-
has_default_function?
(>= v7.1.3.2)
-
indexes
-
initialize_type_map
(>= v4.2.1)
-
insert_fixtures (>= v5.2.3)
-
insert_fixtures_set (>= v5.2.3)
-
insert_sql
-
invalid_alter_table_type?
(>= v5.2.3)
-
last_inserted_id
-
move_table
-
native_database_types
-
new_column_from_field (>= v5.1.7)
-
primary_key
-
primary_keys (>= v5.0.0.1)
-
quote
-
_quote (>= v4.2.1)
-
quote_column_name
-
quoted_date
-
quote_string
-
quote_table_name_for_assign...
-
reconnect
(>= v7.1.3.2)
-
reconnect! (>= v6.0.0)
-
release_savepoint (<= v4.0.2)
-
remove_column
-
remove_columns (>= v7.0.0)
-
remove_index (>= v5.0.0.1)
-
remove_index!
-
rename_column
-
rename_table
-
requires_reloading?
-
return_value_after_insert? (>= v7.1.3.2)
-
rollback_db_transaction
-
rollback_to_savepoint (<= v4.0.2)
-
schema_creation (>= v5.0.0.1)
-
select
-
select_rows
-
shared_cache? (>= v6.1.3.1)
-
sqlite_version
-
supports_add_column?
-
supports_autoincrement? (<= v4.0.2)
-
supports_check_constraints? (>= v6.1.3.1)
-
supports_common_table_expre... (>= v6.1.3.1)
-
supports_concurrent_connect... (>= v7.0.0)
-
supports_count_distinct? (<= v4.0.2)
-
supports_datetime_with_prec... (>= v5.0.0.1)
-
supports_ddl_transactions?
-
supports_explain?
-
supports_expression_index? (>= v6.0.0)
-
supports_foreign_keys? (>= v6.0.0)
-
supports_foreign_keys_in_cr... (>= v5.1.7)
-
supports_index_sort_order?
-
supports_insert_conflict_ta... (>= v6.0.0)
-
supports_insert_on_conflict? (>= v6.0.0)
-
supports_insert_on_duplicat... (>= v6.0.0)
-
supports_insert_on_duplicat... (>= v6.0.0)
-
supports_insert_returning? (>= v7.1.3.2)
-
supports_json? (>= v5.2.3)
-
supports_lazy_transactions? (>= v6.0.0)
-
supports_migrations?
-
supports_multi_insert? (>= v5.0.0.1)
-
supports_partial_index?
-
supports_primary_key?
-
supports_savepoints?
-
supports_statement_cache?
-
supports_transaction_isolat... (>= v6.1.3.1)
-
supports_views? (>= v4.2.1)
-
table_exists?
-
tables
-
table_structure
-
table_structure_with_collation
(>= v5.0.0.1)
-
translate_exception
-
_type_cast (>= v4.2.1)
-
type_cast
-
type_map
(>= v7.0.0)
-
update_sql
-
update_table_definition (>= v5.1.7)
-
use_insert_returning? (>= v7.1.3.2)
-
valid_alter_table_options
-
valid_alter_table_type? (>= v4.2.1)
-
valid_type? (>= v5.0.0.1)
-
view_exists? (>= v5.0.0.1)
-
views (>= v5.0.0.1)
= private
= protected
create(sql, name = nil, pk = nil, id_value = nil, sequence_name = nil)
public