Fix return type of `upper` and `lower`

This commit is contained in:
Simon Binder 2022-03-07 18:41:06 +01:00
parent 5df272e655
commit 8bccc14296
No known key found for this signature in database
GPG Key ID: 7891917E4147B8C0
1 changed files with 2 additions and 2 deletions

View File

@ -84,7 +84,7 @@ extension StringExpressionOperators on Expression<String?> {
///
/// See also:
/// - https://www.w3resource.com/sqlite/core-functions-upper.php
Expression<String> upper() {
Expression<String?> upper() {
return FunctionCallExpression('UPPER', [this]);
}
@ -93,7 +93,7 @@ extension StringExpressionOperators on Expression<String?> {
///
/// See also:
/// - https://www.w3resource.com/sqlite/core-functions-lower.php
Expression<String> lower() {
Expression<String?> lower() {
return FunctionCallExpression('LOWER', [this]);
}