API.rdoc in swift-0.13.0 vs API.rdoc in swift-0.14.0
- old
+ new
@@ -10,33 +10,37 @@
.schema #=> [Scheme, ...]
.trace
# Abstract.
Adapter
- .new #=> Adapter
- #begin #=> Adapter
+ .new #=> Adapter
+ #begin #=> Adapter
#commit
- #create #=> Scheme or Result
- #delete #=> Result
- #execute #=> Result
- #get #=> Scheme
- #prepare #=> Statement
+ #create #=> Scheme or Result
+ #delete #=> Result
+ #execute #=> Result
+ #async_execute #=> Result
+ #get #=> Scheme
+ #prepare #=> Statement
#rollback
- #transaction #=> Adapter
- #update #=> Scheme or Result
+ #transaction #=> Adapter
+ #update #=> Scheme or Result
#reconnect
# Concrete.
DB
Mysql < Adapter::Sql
Postgres < Adapter::Sql
Sqlite3 < Adapter::Sql
# Enumerable collection of Scheme or Hash tuples.
Result
- .new #=> Result
- #insert_id #=> Numeric
- #fields #=> [Symbol, ...] # Field names identical to .first.keys if rows > 0
+ .new #=> Result
+ #insert_id #=> Numeric
+ #fields #=> [Symbol, ...] # Field names identical to .first.keys if rows > 0
+ #field_types #=> [String, ...] # Type names: boolean, integer, float, numeric, timestamp, date, time, blob, text
+ #rows #=> Fixnum
+ #columns #=> Fixnum
Statement
.new #=> Statement
#execute #=> Result
#command #=> String # The SQL command executed or to be executed