API.rdoc in swift-0.10.0 vs API.rdoc in swift-0.11.0
- old
+ new
@@ -11,33 +11,27 @@
.trace
# Abstract.
Adapter
.new #=> Adapter
- #all #=> Result
#begin #=> Adapter
#commit
#create #=> Scheme or Result
- #destroy #=> Scheme or Result
+ #delete #=> Result
#execute #=> Result
- #first #=> Scheme
#get #=> Scheme
#prepare #=> Statement
#rollback
#transaction #=> Adapter
#update #=> Scheme or Result
#reconnect
- #delete #=> Result
- # TODO: DBI < Adapter
- # returning? #=> true or false
-
# Concrete.
DB
- Mysql < Adapter # TODO: Adapter::DBI?
- Postgres < Adapter # TODO: Adapter::DBI?
- Sqlite3 < Adapter # TODO: Adapter::DBI?
+ Mysql < Adapter::Sql
+ Postgres < Adapter::Sql
+ Sqlite3 < Adapter::Sql
# Enumerable collection of Scheme or Hash tuples.
Result
.new #=> Result
#insert_id #=> Numeric
@@ -46,25 +40,24 @@
Statement
.new #=> Statement
#execute #=> Result
Scheme
- .all #=> Result
.attribute #=> Type
.create #=> Scheme or Result
- .first #=> Scheme
.get #=> Scheme
.header #=> Header
.load #=> Scheme
.new #=> Scheme
- .scheme #=> Alias for self.class
.store #=> Symbol
- #destroy #=> Scheme or Result
+ #execute #=> Result
+ #prepare #=> Statement
+ #scheme #=> Alias for self.class
#tuple #=> Hash
#update #=> Scheme or Result
- # Enumerable collection of Types for Scheme
+ # Enumerable collection of Types for Scheme.
Header
.new #=> Header
#all #=> [Type, ...]
#insertable #=> [Type, ...]
#keys #=> [Symbol, ...]
@@ -81,10 +74,10 @@
#key #=> true or false
#serial #=> Symbol or nil
#default #=> Object
#define_scheme_methods
- # Concrete
+ # Concrete.
Type
BigDecimal < Attribute
Boolean < Attribute
Float < Attribute
Integer < Attribute