diff options
Diffstat (limited to 'activerecord/lib/active_record/connection_adapters')
-rw-r--r-- | activerecord/lib/active_record/connection_adapters/sqlite3_adapter.rb | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/activerecord/lib/active_record/connection_adapters/sqlite3_adapter.rb b/activerecord/lib/active_record/connection_adapters/sqlite3_adapter.rb index 7b4be67131..43756f48e0 100644 --- a/activerecord/lib/active_record/connection_adapters/sqlite3_adapter.rb +++ b/activerecord/lib/active_record/connection_adapters/sqlite3_adapter.rb @@ -48,7 +48,7 @@ module ActiveRecord end end - # The SQLite3 adapter works SQLite 3.6.16 or newer + # The SQLite3 adapter works with SQLite 3.6.16 or newer, # with the sqlite3-ruby drivers (available as gem from https://rubygems.org/gems/sqlite3). # # Options: @@ -123,17 +123,17 @@ module ActiveRecord 'SQLite' end - # Returns true + # Returns true, since this connection adapter supports ddl transactions. def supports_ddl_transactions? true end - # Returns true if SQLite version is '3.6.8' or greater, false otherwise. + # Returns true if SQLite version supports savepoints, false otherwise. def supports_savepoints? sqlite_version >= '3.6.8' end - # Returns true, since this connection adapter supports prepared statement + # Returns true, since this connection adapter supports prepared statement. # caching. def supports_statement_cache? true @@ -144,7 +144,7 @@ module ActiveRecord true end - # Returns true. + # Returns true, since this connection adapter supports primary key. def supports_primary_key? #:nodoc: true end @@ -153,13 +153,12 @@ module ActiveRecord true end - # Returns true + # Returns true, since this connection adapter supports add column. def supports_add_column? true end - - # Disconnects from the database if already connected. Otherwise, this - # method does nothing. + + # Disconnects from the database if already connected. def disconnect! super clear_cache! @@ -171,16 +170,17 @@ module ActiveRecord @statements.clear end - # Returns true + # Returns true, since this connection adapter count distinct. def supports_count_distinct? #:nodoc: true end - # Returns true + # Returns true, since this connection adapter supports autoincrement. def supports_autoincrement? #:nodoc: true end + # Returns true, since this connection adapter supports def supports_index_sort_order? true end @@ -207,7 +207,7 @@ module ActiveRecord @connection.encoding.to_s end - # Returns true. + # Returns true, since this connection adapter supports explain. def supports_explain? true end |