Skip to content

Commit 95f10ce

Browse files
committed
update
1 parent 3599f46 commit 95f10ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/runtime/src/client/functions.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ export const isEmpty: ZModelFunction<any> = (eb, args, { dialect }: ZModelFuncti
100100
if (!field) {
101101
throw new Error('"field" parameter is required');
102102
}
103-
return eb(dialect.buildArrayLength(eb, field), '=', sql.lit(0));
103+
return eb(dialect.buildArrayLength(field), '=', sql.lit(0));
104104
};
105105

106106
export const now: ZModelFunction<any> = () => sql.raw('CURRENT_TIMESTAMP');

0 commit comments

Comments
 (0)