We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 502da94 commit f43b2eaCopy full SHA for f43b2ea
packages/runtime/src/client/crud/dialects/base.ts
@@ -560,7 +560,7 @@ export abstract class BaseCrudDialect<Schema extends SchemaDef> {
560
: eb(fieldRef, 'like', sql.val(`%${value}`)),
561
)
562
.otherwise(() => {
563
- throw new Error(`Invalid string filter key: ${key}`);
+ throw new QueryError(`Invalid string filter key: ${key}`);
564
});
565
566
if (condition) {
0 commit comments