method
_quote
rails latest stable - Class:
ActiveRecord::ConnectionAdapters::SQLite3Adapter
Method deprecated or moved
This method is deprecated or moved on the latest stable version. The last existing version (v4.2.9) is shown here.
_quote(value)public
QUOTING ==================================================
# File activerecord/lib/active_record/connection_adapters/sqlite3_adapter.rb, line 207
def _quote(value) # :nodoc:
case value
when Type::Binary::Data
"x'#{value.hex}'"
else
super
end
end Related methods
- Instance methods
- _quote
- _type_cast
- active?
- add_column
- allowed_index_name_length
- begin_db_transaction
- change_column
- change_column_default
- change_column_null
- clear_cache!
- columns
- commit_db_transaction
- create
- data_source_exists?
- data_sources
- delete_sql
- disconnect!
- encoding
- exec_delete
- exec_query
- exec_rollback_db_transaction
- exec_update
- execute
- explain
- indexes
- insert_sql
- last_inserted_id
- native_database_types
- primary_key
- quote_column_name
- quote_string
- quote_table_name_for_assignment
- quoted_date
- remove_column
- remove_index!
- rename_column
- rename_table
- requires_reloading?
- select_rows
- supports_ddl_transactions?
- supports_explain?
- supports_index_sort_order?
- supports_migrations?
- supports_partial_index?
- supports_primary_key?
- supports_savepoints?
- supports_statement_cache?
- supports_views?
- table_exists?
- tables
- update_sql
- valid_alter_table_type?
- Class methods
- new
- Protected methods
-
alter_table -
copy_table -
copy_table_contents -
copy_table_indexes -
initialize_type_map -
move_table -
sqlite_version -
table_structure -
translate_exception