mirror of
https://github.com/groue/GRDB.swift
synced 2026-11-30 04:28:44 +00:00
SE-0361: Extensions on bound generic types
https://github.com/apple/swift-evolution/blob/main/proposals/0361-bound-generic-extensions.md
This commit is contained in:
1 parent
36892fee55
commit
b2eafd4a13
14 files changed
+28
-17
No files matched your search
@@ -805,7 +805,7 @@ throws -> DatabaseRegion
|
||||
.databaseRegion // contains region of nested associations
|
||||
}
|
||||
|
||||
extension Array where Element == Row {
|
||||
extension [Row] {
|
||||
/// - precondition: Columns all exist in all rows. All rows have the same
|
||||
/// columnns, in the same order.
|
||||
fileprivate func grouped(byDatabaseValuesOnColumns columns: [String]) -> [[DatabaseValue]: [Row]] {
|
||||
|
||||
Reference in new issue
Block a user