mirror of
https://github.com/groue/GRDB.swift
synced 2026-11-25 04:07:47 +00:00
First annotation: HasManyAssociaton.count
This commit is contained in:
1 parent
168d2850ab
commit
903694d095
10 files changed
+167
No files matched your search
@@ -70,6 +70,12 @@ extension QueryInterfaceQuery {
|
||||
return query
|
||||
}
|
||||
|
||||
func appendingSelection(_ selection: [SQLSelectable]) -> QueryInterfaceQuery {
|
||||
var query = self
|
||||
query.selection.append(contentsOf: selection)
|
||||
return query
|
||||
}
|
||||
|
||||
func distinct() -> QueryInterfaceQuery {
|
||||
var query = self
|
||||
query.isDistinct = true
|
||||
|
||||
Reference in new issue
Block a user