Skip to content

Instantly share code, notes, and snippets.

@ChristianKienle
Created December 23, 2014 16:41
Show Gist options
  • Save ChristianKienle/04a42d0a299f35e5c363 to your computer and use it in GitHub Desktop.
Save ChristianKienle/04a42d0a299f35e5c363 to your computer and use it in GitHub Desktop.
var queryResult = self.database.executeQuery("SELECT * FROM PERSON", arguments:[])
XCTAssertTrue(queryResult.isSuccess)
queryResult.consume { resultSet in
var name:String = resultSet.value(0)
XCTAssertEqual("Christian", "Name")
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment