allow passing undefined to limit

The 0.32.1 release (https://github.com/drizzle-team/drizzle-orm/releases/tag/0.32.1) added support for limit 0 in all dialects... However, in some cases i used "0" as a fallback for "do not apply limit" (as if limit was undefined, which is not allowed currently) Pointed out as workaround in this issue: https://github.com/drizzle-team/drizzle-orm/issues/728#issuecomment-1581806431 Is there some other way to define the .limit(limitNum) where limit is only applied if limit is defined? Can we allow undefined to be passed to limit() to not apply it?
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server