Skip to content

Commit f43b2ea

Browse files
committed
update
1 parent 502da94 commit f43b2ea

File tree

1 file changed

+1
-1
lines changed
  • packages/runtime/src/client/crud/dialects

1 file changed

+1
-1
lines changed

packages/runtime/src/client/crud/dialects/base.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -560,7 +560,7 @@ export abstract class BaseCrudDialect<Schema extends SchemaDef> {
560560
: eb(fieldRef, 'like', sql.val(`%${value}`)),
561561
)
562562
.otherwise(() => {
563-
throw new Error(`Invalid string filter key: ${key}`);
563+
throw new QueryError(`Invalid string filter key: ${key}`);
564564
});
565565

566566
if (condition) {

0 commit comments

Comments
 (0)