method
encoding

v6.0.0 - 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?
-
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=
-
strict_strings_by_default (>= v7.1.3.2)
- Instance methods (131)
-
active?
-
adapter_name (<= v4.1.8)
-
add_belongs_to
-
add_column
-
add_reference
-
add_timestamps (>= v7.1.3.2)
-
all_foreign_keys_valid? (>= v7.0.0)
-
allowed_index_name_length
-
alter_table
-
arel_visitor
-
begin_db_transaction (<= v5.2.3)
-
bind_params_length
-
build_insert_sql
-
build_statement_pool
-
change_column
-
change_column_default
-
change_column_null
-
check_all_foreign_keys_valid! (>= v7.1.3.2)
-
check_version
-
clear_cache! (<= v5.2.3)
-
column_definitions
-
columns (<= v5.0.0.1)
-
commit_db_transaction (<= v5.2.3)
-
configure_connection
-
connect
-
copy_table
-
copy_table_contents
-
copy_table_indexes
-
create (<= v4.2.9)
-
create_savepoint (<= v4.0.2)
-
create_table_definition
(<= v5.1.7)
-
database_exists? (>= v7.1.3.2)
-
data_source_exists? (<= v5.0.0.1)
-
data_sources (<= v5.0.0.1)
-
default_primary_key_type
(<= v4.0.2)
-
delete_sql (<= v4.2.9)
-
disable_referential_integrity
-
disconnect!
-
encoding
-
exec_delete (<= v5.2.3)
-
exec_query (<= v5.2.3)
-
exec_rollback_db_transaction (<= v5.2.3)
-
exec_update (<= v5.2.3)
-
execute (<= v5.2.3)
-
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
-
get_database_version
-
has_default_function?
(>= v7.1.3.2)
-
indexes (<= v5.1.7)
-
initialize_type_map
-
insert_fixtures (<= v5.2.3)
-
insert_fixtures_set (<= v5.2.3)
-
insert_sql (<= v4.2.9)
-
invalid_alter_table_type?
-
last_inserted_id (<= v5.2.3)
-
move_table
-
native_database_types
-
new_column_from_field (<= v5.1.7)
-
primary_key (<= v4.2.9)
-
primary_keys
-
quote (<= v4.1.8)
-
_quote (<= v4.2.9)
-
quote_column_name (<= v4.2.9)
-
quoted_date (<= v4.2.9)
-
quote_string (<= v4.2.9)
-
quote_table_name_for_assign... (<= v4.2.9)
-
reconnect
(>= v7.1.3.2)
-
reconnect!
-
release_savepoint (<= v4.0.2)
-
remove_column
-
remove_columns (>= v7.0.0)
-
remove_index
-
remove_index! (<= v4.2.9)
-
rename_column
-
rename_table
-
requires_reloading?
-
return_value_after_insert? (>= v7.1.3.2)
-
rollback_db_transaction (<= v4.1.8)
-
rollback_to_savepoint (<= v4.0.2)
-
schema_creation (<= v5.1.7)
-
select
(<= v4.1.8)
-
select_rows (<= v4.2.9)
-
shared_cache? (>= v6.1.3.1)
-
sqlite_version
(<= v5.2.3)
-
supports_add_column? (<= v4.1.8)
-
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...
-
supports_ddl_transactions?
-
supports_explain?
-
supports_expression_index?
-
supports_foreign_keys?
-
supports_foreign_keys_in_cr... (<= v5.2.3)
-
supports_index_sort_order?
-
supports_insert_conflict_ta...
-
supports_insert_on_conflict?
-
supports_insert_on_duplicat...
-
supports_insert_on_duplicat...
-
supports_insert_returning? (>= v7.1.3.2)
-
supports_json?
-
supports_lazy_transactions?
-
supports_migrations? (<= v5.0.0.1)
-
supports_multi_insert? (<= v5.2.3)
-
supports_partial_index?
-
supports_primary_key? (<= v5.0.0.1)
-
supports_savepoints?
-
supports_statement_cache? (<= v5.1.7)
-
supports_transaction_isolat... (>= v6.1.3.1)
-
supports_views?
-
table_exists? (<= v5.0.0.1)
-
tables (<= v5.0.0.1)
-
table_structure
-
table_structure_with_collation
-
translate_exception
-
_type_cast (<= v4.2.9)
-
type_cast (<= v4.1.8)
-
type_map
(>= v7.0.0)
-
update_sql (<= v4.2.9)
-
update_table_definition (<= v5.1.7)
-
use_insert_returning? (>= v7.1.3.2)
-
valid_alter_table_options (<= v4.1.8)
-
valid_alter_table_type? (<= v5.2.3)
-
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 186 def encoding @connection.encoding.to_s end