diff --git a/CHANGELOG.md b/CHANGELOG.md
index 5e21983a2..0f0de4869 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,6 +1,15 @@
Release Notes
=============
+## 0.94.0
+
+Released December 7, 2016
+
+**New**
+
+- `Database.columnCount(in:)` returns the number of columns in a database table. This helps building [SuffixRowAdapter](http://cocoadocs.org/docsets/GRDB.swift/0.94.0/Structs/SuffixRowAdapter.html) for joined requests.
+
+
## 0.93.1
Released December 7, 2016
diff --git a/Documentation/CustomSQLiteBuilds.md b/Documentation/CustomSQLiteBuilds.md
index 6588ffd9a..f96c3913f 100644
--- a/Documentation/CustomSQLiteBuilds.md
+++ b/Documentation/CustomSQLiteBuilds.md
@@ -15,7 +15,7 @@ GRDB builds SQLite with [swiftlyfalling/SQLiteLib](https://github.com/swiftlyfal
```sh
cd [GRDB.swift directory]
- git checkout v0.93.1
+ git checkout v0.94.0
git submodule update --init SQLiteCustom/src
````
diff --git a/Documentation/ExtendingGRDB.md b/Documentation/ExtendingGRDB.md
index fc8b65483..c409c2355 100644
--- a/Documentation/ExtendingGRDB.md
+++ b/Documentation/ExtendingGRDB.md
@@ -471,7 +471,7 @@ Build a `value IN (...)` expression from any sequence of [values](../../../#valu
![1,2,3].contains(Column("id"))
```
-The most general way to generate an `IN` operator is from any value that adopts the [SQLCollection](http://cocoadocs.org/docsets/GRDB.swift/0.93.1/Protocols/SQLCollection.html) protocol, like the [query interface requests](../../../#requests):
+The most general way to generate an `IN` operator is from any value that adopts the [SQLCollection](http://cocoadocs.org/docsets/GRDB.swift/0.94.0/Protocols/SQLCollection.html) protocol, like the [query interface requests](../../../#requests):
```swift
let request = Person.select(Column("id"))
@@ -493,7 +493,7 @@ Build a `value BETWEEN min AND max` expression from Swift ranges:
#### The EXISTS Operator
-Build a `EXISTS(...)` expression from any value that adopts the [SQLSelectQuery](http://cocoadocs.org/docsets/GRDB.swift/0.93.1/Protocols/SQLSelectQuery.html) protocol, like the [query interface requests](../../../#requests):
+Build a `EXISTS(...)` expression from any value that adopts the [SQLSelectQuery](http://cocoadocs.org/docsets/GRDB.swift/0.94.0/Protocols/SQLSelectQuery.html) protocol, like the [query interface requests](../../../#requests):
```swift
let request = Person.all()
@@ -505,7 +505,7 @@ request.exists()
#### The COUNT Function
-Build a `COUNT(...)` expression from the [count](http://cocoadocs.org/docsets/GRDB.swift/0.93.1/Functions.html) and [count(distinct:)](http://cocoadocs.org/docsets/GRDB.swift/0.93.1/Functions.html) functions:
+Build a `COUNT(...)` expression from the [count](http://cocoadocs.org/docsets/GRDB.swift/0.94.0/Functions.html) and [count(distinct:)](http://cocoadocs.org/docsets/GRDB.swift/0.94.0/Functions.html) functions:
```swift
// SQLExpression: COUNT(email)
@@ -596,4 +596,4 @@ You may want to compare it to another protocol, SQLSpecificExpressible, which ha
> :point_up: **Note**: whenever you extend GRDB with a Swift function, method, or operator, you should generally make sure that its signature contains at least one GRDB-specific type. In the `cast` function, it is Database.ColumnType.
-**If SQLExpressionLiteral reveals too limited for your purpose**, you may have to implement a new type that adopts the [SQLExpression](http://cocoadocs.org/docsets/GRDB.swift/0.93.1/Protocols/SQLExpression.html) protocol.
+**If SQLExpressionLiteral reveals too limited for your purpose**, you may have to implement a new type that adopts the [SQLExpression](http://cocoadocs.org/docsets/GRDB.swift/0.94.0/Protocols/SQLExpression.html) protocol.
diff --git a/GRDB.swift.podspec b/GRDB.swift.podspec
index 3dcbe7b76..eb637c16b 100644
--- a/GRDB.swift.podspec
+++ b/GRDB.swift.podspec
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'GRDB.swift'
- s.version = '0.93.1'
+ s.version = '0.94.0'
s.license = { :type => 'MIT', :file => 'LICENSE' }
s.summary = 'A Swift application toolkit for SQLite databases.'
diff --git a/README.md b/README.md
index f67f470a6..c8f84e6a6 100644
--- a/README.md
+++ b/README.md
@@ -3,7 +3,7 @@ GRDB.swift [
### A Swift application toolkit for SQLite databases.
-**Latest release**: December 7, 2016 • version 0.93.1 • [CHANGELOG](CHANGELOG.md)
+**Latest release**: December 7, 2016 • version 0.94.0 • [CHANGELOG](CHANGELOG.md)
**Requirements**: iOS 8.0+ / OSX 10.9+ / watchOS 2.0+ • Xcode 8+ • Swift 3
@@ -168,7 +168,7 @@ Documentation
**Reference**
-- [GRDB Reference](http://cocoadocs.org/docsets/GRDB.swift/0.93.1/index.html) (on cocoadocs.org)
+- [GRDB Reference](http://cocoadocs.org/docsets/GRDB.swift/0.94.0/index.html) (on cocoadocs.org)
**Getting Started**
@@ -251,7 +251,7 @@ See [Custom SQLite builds](Documentation/CustomSQLiteBuilds.md) for the installa
1. Make sure Xcode is installed in the /Applications folder, with its regular name Xcode.
-2. [Download](https://github.com/groue/GRDB.swift/releases/tag/v0.93.1) a copy of GRDB.swift, or clone its repository and make sure you use the latest tagged version with the `git checkout v0.93.1` command.
+2. [Download](https://github.com/groue/GRDB.swift/releases/tag/v0.94.0) a copy of GRDB.swift, or clone its repository and make sure you use the latest tagged version with the `git checkout v0.94.0` command.
3. Embed the `GRDB.xcodeproj` project in your own project.
@@ -349,7 +349,7 @@ let dbQueue = try DatabaseQueue(
configuration: config)
```
-See [Configuration](http://cocoadocs.org/docsets/GRDB.swift/0.93.1/Structs/Configuration.html) for more details.
+See [Configuration](http://cocoadocs.org/docsets/GRDB.swift/0.94.0/Structs/Configuration.html) for more details.
## Database Pools
@@ -427,7 +427,7 @@ let dbPool = try DatabasePool(
configuration: config)
```
-See [Configuration](http://cocoadocs.org/docsets/GRDB.swift/0.93.1/Structs/Configuration.html) for more details.
+See [Configuration](http://cocoadocs.org/docsets/GRDB.swift/0.94.0/Structs/Configuration.html) for more details.
Database pools are more memory-hungry than database queues. See [Memory Management](#memory-management) for more information.
@@ -1588,10 +1588,10 @@ while let person = try persons.next() {
For more information about row adapters, see the documentation of:
-- [RowAdapter](http://cocoadocs.org/docsets/GRDB.swift/0.93.1/Protocols/RowAdapter.html): the protocol that lets you define your custom row adapters
-- [ColumnMapping](http://cocoadocs.org/docsets/GRDB.swift/0.93.1/Structs/ColumnMapping.html): a row adapter that renames row columns
-- [SuffixRowAdapter](http://cocoadocs.org/docsets/GRDB.swift/0.93.1/Structs/SuffixRowAdapter.html): a row adapter that hides the first columns of a row
-- [ScopeAdapter](http://cocoadocs.org/docsets/GRDB.swift/0.93.1/Structs/ScopeAdapter.html): the row adapter that groups several adapters together to define scopes
+- [RowAdapter](http://cocoadocs.org/docsets/GRDB.swift/0.94.0/Protocols/RowAdapter.html): the protocol that lets you define your custom row adapters
+- [ColumnMapping](http://cocoadocs.org/docsets/GRDB.swift/0.94.0/Structs/ColumnMapping.html): a row adapter that renames row columns
+- [SuffixRowAdapter](http://cocoadocs.org/docsets/GRDB.swift/0.94.0/Structs/SuffixRowAdapter.html): a row adapter that hides the first columns of a row
+- [ScopeAdapter](http://cocoadocs.org/docsets/GRDB.swift/0.94.0/Structs/ScopeAdapter.html): the row adapter that groups several adapters together to define scopes
## Raw SQLite Pointers
@@ -1660,8 +1660,8 @@ Before jumping in the low-level wagon, here is the list of all SQLite APIs used
- `sqlite3_backup_finish`, `sqlite3_backup_init`, `sqlite3_backup_step`: see [Backup](#backup)
- `sqlite3_bind_blob`, `sqlite3_bind_double`, `sqlite3_bind_int64`, `sqlite3_bind_null`, `sqlite3_bind_parameter_count`, `sqlite3_bind_parameter_name`, `sqlite3_bind_text`, `sqlite3_clear_bindings`, `sqlite3_column_blob`, `sqlite3_column_bytes`, `sqlite3_column_count`, `sqlite3_column_double`, `sqlite3_column_int64`, `sqlite3_column_name`, `sqlite3_column_text`, `sqlite3_column_type`, `sqlite3_exec`, `sqlite3_finalize`, `sqlite3_prepare_v2`, `sqlite3_reset`, `sqlite3_step`: see [Executing Updates](#executing-updates), [Fetch Queries](#fetch-queries), [Prepared Statements](#prepared-statements), [Values](#values)
-- `sqlite3_busy_handler`, `sqlite3_busy_timeout`: see [Configuration.busyMode](http://cocoadocs.org/docsets/GRDB.swift/0.93.1/Structs/Configuration.html)
-- `sqlite3_changes`, `sqlite3_total_changes`: see [Database.changesCount and Database.totalChangesCount](http://cocoadocs.org/docsets/GRDB.swift/0.93.1/Classes/Database.html)
+- `sqlite3_busy_handler`, `sqlite3_busy_timeout`: see [Configuration.busyMode](http://cocoadocs.org/docsets/GRDB.swift/0.94.0/Structs/Configuration.html)
+- `sqlite3_changes`, `sqlite3_total_changes`: see [Database.changesCount and Database.totalChangesCount](http://cocoadocs.org/docsets/GRDB.swift/0.94.0/Classes/Database.html)
- `sqlite3_close`, `sqlite3_close_v2`, `sqlite3_next_stmt`, `sqlite3_open_v2`: see [Database Connections](#database-connections)
- `sqlite3_commit_hook`, `sqlite3_rollback_hook`, `sqlite3_update_hook`: see [Database Changes Observation](#database-changes-observation), [FetchedRecordsController](#fetchedrecordscontroller)
- `sqlite3_create_collation_v2`: see [String Comparison](#string-comparison)
@@ -1672,9 +1672,9 @@ Before jumping in the low-level wagon, here is the list of all SQLite APIs used
- `sqlite3_last_insert_rowid`: see [Executing Updates](#executing-updates)
- `sqlite3_preupdate_count`, `sqlite3_preupdate_depth`, `sqlite3_preupdate_hook`, `sqlite3_preupdate_new`, `sqlite3_preupdate_old`: see [Support for SQLite Pre-Update Hooks](#support-for-sqlite-pre-update-hooks)
- `sqlite3_set_authorizer`: **reserved by GRDB**
-- `sqlite3_sql`: see [Statement.sql](http://cocoadocs.org/docsets/GRDB.swift/0.93.1/Classes/Statement.html)
-- `sqlite3_trace`: see [Configuration.trace](http://cocoadocs.org/docsets/GRDB.swift/0.93.1/Structs/Configuration.html)
-- `sqlite3_wal_checkpoint_v2`: see [DatabasePool.checkpoint](http://cocoadocs.org/docsets/GRDB.swift/0.93.1/Classes/DatabasePool.html)
+- `sqlite3_sql`: see [Statement.sql](http://cocoadocs.org/docsets/GRDB.swift/0.94.0/Classes/Statement.html)
+- `sqlite3_trace`: see [Configuration.trace](http://cocoadocs.org/docsets/GRDB.swift/0.94.0/Structs/Configuration.html)
+- `sqlite3_wal_checkpoint_v2`: see [DatabasePool.checkpoint](http://cocoadocs.org/docsets/GRDB.swift/0.94.0/Classes/DatabasePool.html)
Records
@@ -4389,7 +4389,7 @@ This requires a manual installation of GRDB:
```sh
cd [GRDB.swift directory]
- git checkout v0.93.1
+ git checkout v0.94.0
git submodule update --init SQLCipher/src
````
@@ -4950,7 +4950,7 @@ try dbPool.write { db in
### DatabaseWriter and DatabaseReader Protocols
-Both DatabaseQueue and DatabasePool adopt the [DatabaseReader](http://cocoadocs.org/docsets/GRDB.swift/0.93.1/Protocols/DatabaseReader.html) and [DatabaseWriter](http://cocoadocs.org/docsets/GRDB.swift/0.93.1/Protocols/DatabaseWriter.html) protocols.
+Both DatabaseQueue and DatabasePool adopt the [DatabaseReader](http://cocoadocs.org/docsets/GRDB.swift/0.94.0/Protocols/DatabaseReader.html) and [DatabaseWriter](http://cocoadocs.org/docsets/GRDB.swift/0.94.0/Protocols/DatabaseWriter.html) protocols.
Those protocols provide a unified API that lets you write safe concurrent code that targets both classes.
@@ -4969,7 +4969,7 @@ If you absolutely need multiple connections, then:
- Read about [isolation in SQLite](https://www.sqlite.org/isolation.html)
- Learn about [locks and transactions](https://www.sqlite.org/lang_transaction.html)
- Become a master of the [WAL mode](https://www.sqlite.org/wal.html)
-- Prepare to setup a [busy handler](https://www.sqlite.org/c3ref/busy_handler.html) with [Configuration.busyMode](http://cocoadocs.org/docsets/GRDB.swift/0.93.1/Structs/Configuration.html)
+- Prepare to setup a [busy handler](https://www.sqlite.org/c3ref/busy_handler.html) with [Configuration.busyMode](http://cocoadocs.org/docsets/GRDB.swift/0.94.0/Structs/Configuration.html)
- [Ask questions](https://github.com/groue/GRDB.swift/issues)
diff --git a/Support/Info.plist b/Support/Info.plist
index 83a237027..bdd938852 100644
--- a/Support/Info.plist
+++ b/Support/Info.plist
@@ -15,7 +15,7 @@
CFBundlePackageType
FMWK
CFBundleShortVersionString
- 0.93.1
+ 0.94.0
CFBundleSignature
????
CFBundleVersion