mirror of
https://github.com/groue/GRDB.swift
synced 2026-11-27 04:14:21 +00:00
Generic connection WIP
This commit is contained in:
1 parent
b31be05ee3
commit
3777ba0df2
189 files changed
+2145
-1993
No files matched your search
@@ -8,7 +8,7 @@ enum SQLColumnGenerator {
|
||||
/// primary key columns in the table that contains the column. If
|
||||
/// the result is nil, the primary key is the hidden rowID.
|
||||
func sql(
|
||||
_ db: Database,
|
||||
_ db: DatabaseBase<some SQLiteAPI>,
|
||||
tableName: String,
|
||||
primaryKeyColumns: () throws -> [SQLColumnDescriptor]?)
|
||||
throws -> String
|
||||
@@ -27,7 +27,7 @@ enum SQLColumnGenerator {
|
||||
}
|
||||
|
||||
private func columnSQL(
|
||||
_ db: Database,
|
||||
_ db: DatabaseBase<some SQLiteAPI>,
|
||||
column: ColumnDefinition,
|
||||
tableName: String,
|
||||
primaryKeyColumns: () throws -> [SQLColumnDescriptor]?)
|
||||
|
||||
Reference in new issue
Block a user