SQLiteResultFetcher
public class SQLiteResultFetcher: ResultFetcher
An implementation of query result fetcher.
-
Indicate no further calls will be made to this ResultFetcher allowing the connection in use to be released.
Declaration
Swift
public func done()
-
Fetch the next row of the query result. This function is non-blocking.
Declaration
Swift
public func fetchNext(callback: @escaping (([Any?]?, Error?)) -> ())
Parameters
callback
A callback to call when the next row of the query result is ready.
-
Fetch the titles of the query result. This function is non-blocking.
Declaration
Swift
public func fetchTitles(callback: @escaping (([String]?, Error?)) -> ())
Parameters
callback
A callback to call passing an array containing column titles of type String.