@@ -68,9 +68,9 @@ extension ExpressionType where UnderlyingType == Double {
6868 /// - Returns: A copy of the expression wrapped with the `round` function.
6969 public func round( _ precision: Int ? = nil ) -> Expression < UnderlyingType > {
7070 guard let precision = precision else {
71- return wrap ( [ self ] )
71+ return " round " . wrap ( [ self ] )
7272 }
73- return wrap ( [ self , Int ( precision) ] )
73+ return " round " . wrap ( [ self , Int ( precision) ] )
7474 }
7575
7676}
@@ -88,9 +88,9 @@ extension ExpressionType where UnderlyingType == Double? {
8888 /// - Returns: A copy of the expression wrapped with the `round` function.
8989 public func round( _ precision: Int ? = nil ) -> Expression < UnderlyingType > {
9090 guard let precision = precision else {
91- return wrap ( self )
91+ return " round " . wrap ( self )
9292 }
93- return wrap ( [ self , Int ( precision) ] )
93+ return " round " . wrap ( [ self , Int ( precision) ] )
9494 }
9595
9696}
@@ -143,7 +143,7 @@ extension ExpressionType where UnderlyingType == Data {
143143 ///
144144 /// - Returns: A copy of the expression wrapped with the `length` function.
145145 public var length : Expression < Int > {
146- return wrap ( self )
146+ return " length " . wrap ( self )
147147 }
148148
149149}
@@ -158,7 +158,7 @@ extension ExpressionType where UnderlyingType == Data? {
158158 ///
159159 /// - Returns: A copy of the expression wrapped with the `length` function.
160160 public var length : Expression < Int ? > {
161- return wrap ( self )
161+ return " length " . wrap ( self )
162162 }
163163
164164}
@@ -173,7 +173,7 @@ extension ExpressionType where UnderlyingType == String {
173173 ///
174174 /// - Returns: A copy of the expression wrapped with the `length` function.
175175 public var length : Expression < Int > {
176- return wrap ( self )
176+ return " length " . wrap ( self )
177177 }
178178
179179 /// Builds a copy of the expression wrapped with the `lower` function.
@@ -317,9 +317,9 @@ extension ExpressionType where UnderlyingType == String {
317317 /// - Returns: A copy of the expression wrapped with the `ltrim` function.
318318 public func ltrim( _ characters: Set < Character > ? = nil ) -> Expression < UnderlyingType > {
319319 guard let characters = characters else {
320- return wrap ( self )
320+ return " ltrim " . wrap ( self )
321321 }
322- return wrap ( [ self , String ( characters) ] )
322+ return " ltrim " . wrap ( [ self , String ( characters) ] )
323323 }
324324
325325 /// Builds a copy of the expression wrapped with the `rtrim` function.
@@ -335,9 +335,9 @@ extension ExpressionType where UnderlyingType == String {
335335 /// - Returns: A copy of the expression wrapped with the `rtrim` function.
336336 public func rtrim( _ characters: Set < Character > ? = nil ) -> Expression < UnderlyingType > {
337337 guard let characters = characters else {
338- return wrap ( self )
338+ return " rtrim " . wrap ( self )
339339 }
340- return wrap ( [ self , String ( characters) ] )
340+ return " rtrim " . wrap ( [ self , String ( characters) ] )
341341 }
342342
343343 /// Builds a copy of the expression wrapped with the `trim` function.
@@ -353,9 +353,9 @@ extension ExpressionType where UnderlyingType == String {
353353 /// - Returns: A copy of the expression wrapped with the `trim` function.
354354 public func trim( _ characters: Set < Character > ? = nil ) -> Expression < UnderlyingType > {
355355 guard let characters = characters else {
356- return wrap ( [ self ] )
356+ return " trim " . wrap ( [ self ] )
357357 }
358- return wrap ( [ self , String ( characters) ] )
358+ return " trim " . wrap ( [ self , String ( characters) ] )
359359 }
360360
361361 /// Builds a copy of the expression wrapped with the `replace` function.
@@ -398,7 +398,7 @@ extension ExpressionType where UnderlyingType == String? {
398398 ///
399399 /// - Returns: A copy of the expression wrapped with the `length` function.
400400 public var length : Expression < Int ? > {
401- return wrap ( self )
401+ return " length " . wrap ( self )
402402 }
403403
404404 /// Builds a copy of the expression wrapped with the `lower` function.
@@ -542,9 +542,9 @@ extension ExpressionType where UnderlyingType == String? {
542542 /// - Returns: A copy of the expression wrapped with the `ltrim` function.
543543 public func ltrim( _ characters: Set < Character > ? = nil ) -> Expression < UnderlyingType > {
544544 guard let characters = characters else {
545- return wrap ( self )
545+ return " ltrim " . wrap ( self )
546546 }
547- return wrap ( [ self , String ( characters) ] )
547+ return " ltrim " . wrap ( [ self , String ( characters) ] )
548548 }
549549
550550 /// Builds a copy of the expression wrapped with the `rtrim` function.
@@ -560,9 +560,9 @@ extension ExpressionType where UnderlyingType == String? {
560560 /// - Returns: A copy of the expression wrapped with the `rtrim` function.
561561 public func rtrim( _ characters: Set < Character > ? = nil ) -> Expression < UnderlyingType > {
562562 guard let characters = characters else {
563- return wrap ( self )
563+ return " rtrim " . wrap ( self )
564564 }
565- return wrap ( [ self , String ( characters) ] )
565+ return " rtrim " . wrap ( [ self , String ( characters) ] )
566566 }
567567
568568 /// Builds a copy of the expression wrapped with the `trim` function.
@@ -578,9 +578,9 @@ extension ExpressionType where UnderlyingType == String? {
578578 /// - Returns: A copy of the expression wrapped with the `trim` function.
579579 public func trim( _ characters: Set < Character > ? = nil ) -> Expression < UnderlyingType > {
580580 guard let characters = characters else {
581- return wrap ( self )
581+ return " trim " . wrap ( self )
582582 }
583- return wrap ( [ self , String ( characters) ] )
583+ return " trim " . wrap ( [ self , String ( characters) ] )
584584 }
585585
586586 /// Builds a copy of the expression wrapped with the `replace` function.
0 commit comments