First annotation: HasManyAssociaton.count

This commit is contained in:
Gwendal Roué committed 2018-10-05 18:50:33 +02:00
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