diff options
author | Oscar Del Ben <info@oscardelben.com> | 2012-05-15 20:38:41 -0700 |
---|---|---|
committer | Oscar Del Ben <info@oscardelben.com> | 2012-05-15 20:38:41 -0700 |
commit | 8d7c38b858b0190ac56998f4a4baba250eaf1e4e (patch) | |
tree | 0ce2437c92dce11c59cfbba0780a0c0cf5821d99 /activerecord | |
parent | 46156b87c0623e7de833584b2ee5939a4ae77674 (diff) | |
download | rails-8d7c38b858b0190ac56998f4a4baba250eaf1e4e.tar.gz rails-8d7c38b858b0190ac56998f4a4baba250eaf1e4e.tar.bz2 rails-8d7c38b858b0190ac56998f4a4baba250eaf1e4e.zip |
Update docs in sqlite3 adapter
Diffstat (limited to 'activerecord')
-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 |