SQLGenerationContext no longer needs to be mutated

This commit is contained in:
Gwendal Roué committed 2020-04-29 21:59:04 +02:00
1 parent e47a584c3e
commit a15233eff1
19 files changed
+140 -141

No files matched your search

+2 -2
View File
@@ -8,10 +8,10 @@
/// :nodoc:
public protocol SQLSelectable {
/// [**Experimental**](http://github.com/groue/GRDB.swift#what-are-experimental-features)
func resultColumnSQL(_ context: inout SQLGenerationContext) throws -> String
func resultColumnSQL(_ context: SQLGenerationContext) throws -> String
/// [**Experimental**](http://github.com/groue/GRDB.swift#what-are-experimental-features)
func countedSQL(_ context: inout SQLGenerationContext) throws -> String
func countedSQL(_ context: SQLGenerationContext) throws -> String
/// [**Experimental**](http://github.com/groue/GRDB.swift#what-are-experimental-features)
func count(distinct: Bool) -> SQLCount?