Class: ThinkingSphinx::ActiveRecord::DatabaseAdapters::AbstractAdapter
- Inherits:
-
Object
- Object
- ThinkingSphinx::ActiveRecord::DatabaseAdapters::AbstractAdapter
show all
- Defined in:
- lib/thinking_sphinx/active_record/database_adapters/abstract_adapter.rb
Instance Method Summary
collapse
Constructor Details
Returns a new instance of AbstractAdapter.
2
3
4
|
# File 'lib/thinking_sphinx/active_record/database_adapters/abstract_adapter.rb', line 2
def initialize(model)
@model = model
end
|
Instance Method Details
#quote(column) ⇒ Object
6
7
8
|
# File 'lib/thinking_sphinx/active_record/database_adapters/abstract_adapter.rb', line 6
def quote(column)
@model.connection.quote_column_name(column)
end
|
#quoted_table_name ⇒ Object
10
11
12
|
# File 'lib/thinking_sphinx/active_record/database_adapters/abstract_adapter.rb', line 10
def quoted_table_name
@model.quoted_table_name
end
|
#utf8_query_pre ⇒ Object
14
15
16
|
# File 'lib/thinking_sphinx/active_record/database_adapters/abstract_adapter.rb', line 14
def utf8_query_pre
[]
end
|