DatabaseCursor
public protocol DatabaseCursor : _DatabaseCursor
A protocol for cursors that iterate a database statement.
-
The statement iterated by the cursor
Declaration
Swift
var statement: Statement { get }
-
next()Extension methodDeclaration
Swift
@inlinable public func next() throws -> Element? -
forEach(_:Extension method) Declaration
Swift
@inlinable public func forEach(_ body: (Element) throws -> Void) throws
View on GitHub
Install in Dash
DatabaseCursor Protocol Reference