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);