Skip to content

Commit 9a2c2d8

Browse files
committed
wip
1 parent afdc819 commit 9a2c2d8

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Sources/StructuredQueriesCore/ScalarFunctions.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ extension QueryExpression where QueryValue: _OptionalPromotable<String?> {
258258
/// Wraps this string expression with the `lower` function.
259259
///
260260
/// - Returns: An expression wrapped with the `lower` function.
261-
public func lower() -> some QueryExpression<QueryValue._Optionalized> {
261+
public func lower() -> some QueryExpression<QueryValue> {
262262
QueryFunction("lower", self)
263263
}
264264
}

Tests/StructuredQueriesTests/AggregateFunctionsTests.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -126,9 +126,9 @@ extension SnapshotTests {
126126
"""
127127
} results: {
128128
"""
129-
┌───┐
130-
1
131-
└───┘
129+
┌──────
130+
.low
131+
└──────
132132
"""
133133
}
134134
}

0 commit comments

Comments
 (0)