Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Add Sequel.swift method and update README and www index page to menti…

…on Swift
  • Loading branch information...
commit 9e9b768d86326109f01bf88ea234e26e7ab448ad 1 parent 271b6c5
Jeremy Evans authored September 16, 2010
2  README.rdoc
Source Rendered
@@ -13,7 +13,7 @@ toolkit for Ruby.
13 13
   configurations, and database sharding.
14 14
 * Sequel currently has adapters for ADO, Amalgalite, DataObjects,
15 15
   DB2, DBI, Firebird, Informix, JDBC, MySQL, Mysql2, ODBC, OpenBase,
16  
-  Oracle, PostgreSQL and SQLite3.
  16
+  Oracle, PostgreSQL, SQLite3, and Swift.
17 17
 
18 18
 == Resources
19 19
 
2  lib/sequel/database/connecting.rb
@@ -6,7 +6,7 @@ class Database
6 6
     # ---------------------
7 7
 
8 8
     # Array of supported database adapters
9  
-    ADAPTERS = %w'ado amalgalite db2 dbi do firebird informix jdbc mysql mysql2 odbc openbase oracle postgres sqlite'.collect{|x| x.to_sym}
  9
+    ADAPTERS = %w'ado amalgalite db2 dbi do firebird informix jdbc mysql mysql2 odbc openbase oracle postgres sqlite swift'.collect{|x| x.to_sym}
10 10
 
11 11
     # Whether to use the single threaded connection pool by default
12 12
     @@single_threaded = false
2  www/pages/index
@@ -4,7 +4,7 @@
4 4
 <li>Sequel provides thread safety, connection pooling and a concise DSL for constructing SQL queries and table schemas.</li>
5 5
 <li>Sequel includes a comprehensive ORM layer for mapping records to Ruby objects and handling associated records.</li>
6 6
 <li>Sequel supports advanced database features such as prepared statements, bound variables, stored procedures, savepoints, two-phase commit, transaction isolation, master/slave configurations, and database sharding.</li>
7  
-<li>Sequel currently has adapters for ADO, Amalgalite, DataObjects, DB2, DBI, Firebird, Informix, JDBC, MySQL, Mysql2, ODBC, OpenBase, Oracle, PostgreSQL and SQLite3.</li>
  7
+<li>Sequel currently has adapters for ADO, Amalgalite, DataObjects, DB2, DBI, Firebird, Informix, JDBC, MySQL, Mysql2, ODBC, OpenBase, Oracle, PostgreSQL, SQLite3, and Swift.</li>
8 8
 </ul>
9 9
 
10 10
 <h3 id='a_short_example'>A short example:</h3>

0 notes on commit 9e9b768

Please sign in to comment.
Something went wrong with that request. Please try again.