File tree Expand file tree Collapse file tree 2 files changed +4
-6
lines changed
Sources/StructuredQueriesCore Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -861,10 +861,8 @@ extension QueryExpression where QueryValue: QueryBindable {
861861 _ lowerBound: some QueryExpression < QueryValue > ,
862862 and upperBound: some QueryExpression < QueryValue >
863863 ) -> some QueryExpression < Bool > {
864- BinaryOperator (
865- lhs: self ,
866- operator: " BETWEEN " ,
867- rhs: SQLQueryExpression ( " \( lowerBound) AND \( upperBound) " )
864+ SQLQueryExpression (
865+ " \( self ) BETWEEN \( lowerBound) AND \( upperBound) "
868866 )
869867 }
870868}
@@ -963,7 +961,7 @@ struct BinaryOperator<QueryValue>: QueryExpression {
963961 }
964962
965963 var queryFragment : QueryFragment {
966- " ( \( lhs) ) \( `operator`) ( \( rhs) ) "
964+ " (( \( lhs) ) \( `operator`) ( \( rhs) )) "
967965 }
968966}
969967
Original file line number Diff line number Diff line change 88public struct Updates < Base: Table > {
99 private var updates : [ ( String , QueryFragment ) ] = [ ]
1010
11- package init ( _ body: ( inout Self ) -> Void ) {
11+ init ( _ body: ( inout Self ) -> Void ) {
1212 body ( & self )
1313 }
1414
You can’t perform that action at this time.
0 commit comments