Skip to content

0.24.5

Compare
Choose a tag to compare
@github-actions github-actions released this 23 Apr 08:31
· 1837 commits to main since this release
e5597eb
  • Add possibility to have placeholders in .limit() and .offset()
const stmt = db
  .select({
    id: usersTable.id,
    name: usersTable.name,
  })
  .from(usersTable)
  .limit(placeholder('limit'))
  .offset(placeholder('offset'))
  .prepare('stmt');

const result = await stmt.execute({ limit: 1, offset: 1 });