method
encoding

v3.2.8 - Show latest stable - 0 notes - Class: ActiveRecord::ConnectionAdapters::SQLite3Adapter
- 1.0.0
- 1.1.6
- 1.2.6
- 2.0.3
- 2.1.0
- 2.2.1
- 2.3.8
- 3.0.0 (0)
- 3.0.9 (-38)
- 3.1.0 (0)
- 3.2.1 (0)
- 3.2.8 (0)
- 3.2.13 (0)
- 4.0.2 (0)
- 4.1.8 (0)
- 4.2.1 (0)
- 4.2.7 (0)
- 4.2.9 (0)
- 5.0.0.1 (0)
- 5.1.7 (0)
- 5.2.3 (0)
- 6.0.0 (0)
- 6.1.3.1 (0)
- 6.1.7.7 (0)
- 7.0.0 (13)
- 7.1.3.2 (0)
- 7.1.3.4 (0)
- What's this?
Related methods
- Class methods (8)
-
database_exists? (>= v6.0.0)
-
dbconsole (>= v7.1.3.2)
-
initialize_type_map
(>= v7.0.0)
-
new (>= v4.0.2)
-
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? (>= v4.0.2)
-
adapter_name (>= v4.0.2)
-
add_belongs_to (>= v5.1.7)
-
add_column (>= v4.0.2)
-
add_reference (>= v5.1.7)
-
add_timestamps (>= v7.1.3.2)
-
all_foreign_keys_valid? (>= v7.0.0)
-
allowed_index_name_length (>= v4.0.2)
-
alter_table
(>= v4.0.2)
-
arel_visitor (>= v5.0.0.1)
-
begin_db_transaction (>= v4.0.2)
-
bind_params_length
(>= v6.0.0)
-
build_insert_sql (>= v6.0.0)
-
build_statement_pool
(>= v6.0.0)
-
change_column (>= v4.0.2)
-
change_column_default (>= v4.0.2)
-
change_column_null (>= v4.0.2)
-
check_all_foreign_keys_valid! (>= v7.1.3.2)
-
check_version (>= v6.0.0)
-
clear_cache! (>= v4.0.2)
-
column_definitions
(>= v5.1.7)
-
columns (>= v4.0.2)
-
commit_db_transaction (>= v4.0.2)
-
configure_connection
(>= v5.1.7)
-
connect
(>= v6.0.0)
-
copy_table
(>= v4.0.2)
-
copy_table_contents
(>= v4.0.2)
-
copy_table_indexes
(>= v4.0.2)
-
create (>= v4.0.2)
-
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 (>= v4.0.2)
-
disable_referential_integrity (>= v5.1.7)
-
disconnect! (>= v4.0.2)
-
encoding
-
exec_delete (>= v4.0.2)
-
exec_query (>= v4.0.2)
-
exec_rollback_db_transaction (>= v4.2.1)
-
exec_update (>= v4.0.2)
-
execute (>= v4.0.2)
-
explain (>= v4.0.2)
-
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 (>= v4.0.2)
-
initialize_type_map
(>= v4.2.1)
-
insert_fixtures (>= v5.2.3)
-
insert_fixtures_set (>= v5.2.3)
-
insert_sql (>= v4.0.2)
-
invalid_alter_table_type?
(>= v5.2.3)
-
last_inserted_id (>= v4.0.2)
-
move_table
(>= v4.0.2)
-
native_database_types (>= v4.0.2)
-
new_column_from_field (>= v5.1.7)
-
primary_key (>= v4.0.2)
-
primary_keys (>= v5.0.0.1)
-
quote
-
_quote (>= v4.2.1)
-
quote_column_name (>= v4.0.2)
-
quoted_date (>= v4.0.2)
-
quote_string (>= v4.0.2)
-
quote_table_name_for_assign... (>= v4.0.2)
-
reconnect
(>= v7.1.3.2)
-
reconnect! (>= v6.0.0)
-
release_savepoint (>= v4.0.2)
-
remove_column (>= v4.0.2)
-
remove_columns (>= v7.0.0)
-
remove_index (>= v5.0.0.1)
-
remove_index! (>= v4.0.2)
-
rename_column (>= v4.0.2)
-
rename_table (>= v4.0.2)
-
requires_reloading? (>= v4.0.2)
-
return_value_after_insert? (>= v7.1.3.2)
-
rollback_db_transaction (>= v4.0.2)
-
rollback_to_savepoint (>= v4.0.2)
-
schema_creation (>= v5.0.0.1)
-
select
(>= v4.0.2)
-
select_rows (>= v4.0.2)
-
shared_cache? (>= v6.1.3.1)
-
sqlite_version
(>= v4.0.2)
-
supports_add_column? (>= v4.0.2)
-
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? (>= v4.0.2)
-
supports_explain? (>= v4.0.2)
-
supports_expression_index? (>= v6.0.0)
-
supports_foreign_keys? (>= v6.0.0)
-
supports_foreign_keys_in_cr... (>= v5.1.7)
-
supports_index_sort_order? (>= v4.0.2)
-
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? (>= v4.0.2)
-
supports_multi_insert? (>= v5.0.0.1)
-
supports_partial_index? (>= v4.1.8)
-
supports_primary_key? (>= v4.0.2)
-
supports_savepoints? (>= v4.0.2)
-
supports_statement_cache? (>= v4.0.2)
-
supports_transaction_isolat... (>= v6.1.3.1)
-
supports_views? (>= v4.2.1)
-
table_exists? (>= v4.0.2)
-
tables (>= v4.0.2)
-
table_structure (>= v2.1.0)
-
table_structure_with_collation
(>= v5.0.0.1)
-
translate_exception
(>= v4.0.2)
-
_type_cast (>= v4.2.1)
-
type_cast (>= v4.0.2)
-
type_map
(>= v7.0.0)
-
update_sql (>= v4.0.2)
-
update_table_definition (>= v5.1.7)
-
use_insert_returning? (>= v7.1.3.2)
-
valid_alter_table_options (>= v4.0.2)
-
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
encoding()
public Returns the current database encoding format as a string, eg: ‘UTF-8’
Show source
# File activerecord/lib/active_record/connection_adapters/sqlite3_adapter.rb, line 49 def encoding @connection.encoding.to_s end