Slacker News Slacker News logo featuring a lazy sloth with a folded newspaper hat
  • top
  • new
  • show
  • ask
  • jobs
Library
← Back to context

Comment by tillcarlos

4 days ago

That’s what I thought.

The queries look a but more clumsy then but you won’t cause problems when spelling the column names.

  const [domain] = await db
    .select()
    .from(cmsDomains)
    .where(eq(cmsDomains.id, domainId))
    .limit(1);

1 comment

tillcarlos

Reply

Slacker News

Product

  • API Reference
  • Hacker News RSS
  • Source on GitHub

Community

  • Support Ukraine
  • Equal Justice Initiative
  • GiveWell Charities