mirror of
https://github.com/groue/GRDB.swift
synced 2026-11-27 04:14:21 +00:00
Replace DatabaseCursor with new concrete cursors RowCursor, StatementColumnCursor, NullableStatementColumnCursor, and StatementCursor.
This commit is contained in:
1 parent
d95954d980
commit
8ccc23333d
39 files changed
+926
-588
No files matched your search
@@ -7,13 +7,13 @@
|
||||
///
|
||||
/// For example:
|
||||
///
|
||||
/// struct Person : TableMapping {
|
||||
/// static var databaseTableName = "persons"
|
||||
/// struct Player : TableMapping {
|
||||
/// static var databaseTableName = "players"
|
||||
/// static let databaseSelection: [SQLSelectable] = [AllColumns(), Column.rowID]
|
||||
/// }
|
||||
///
|
||||
/// // SELECT *, rowid FROM persons
|
||||
/// let request = Person.all()
|
||||
/// // SELECT *, rowid FROM players
|
||||
/// let request = Player.all()
|
||||
public struct AllColumns {
|
||||
///
|
||||
public init() { }
|
||||
|
||||
Reference in new issue
Block a user