Generic connection WIP

This commit is contained in:
Gwendal Roué committed 2025-11-12 18:04:31 +01:00
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]?)