From f001b5bd76a1450e815fa3da351ca7549a3e3cdf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gwendal=20Roue=CC=81?= Date: Wed, 23 Aug 2017 08:19:29 +0200 Subject: [PATCH] Documentation --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index cb68c1f58..12ba80d85 100644 --- a/README.md +++ b/README.md @@ -637,7 +637,7 @@ Both arrays and cursors can iterate over database results. How do you choose one - Cursors iterate in a lazy fashion, and don't consume much memory. - Cursors can not be used on any thread: you must consume them in a protected database queue. - Cursors can be iterated only one time. -- Cursors are granted with direct access to SQLite: you can especially expect the best performance from cursors of raw database rows and some primitive types like `Int`, `String`, or `Bool`. +- Cursors are granted with direct access to SQLite: you can especially expect the best performance from cursors of raw database rows and some primitive types like `Int`, `String`, or `Bool` that adopt the [StatementColumnConvertible](http://groue.github.io/GRDB.swift/docs/1.3/Protocols/StatementColumnConvertible.html) protocol. If you don't see, or don't care about the difference, use arrays. If you care about memory and performance, use cursors when appropriate.