© 2026 Hedgehog Software, LLC
jsonb
await db() .select({ id: sites.id }) .from(sites) .where(sql`metadata @> '{"key":"${key}"}'::jsonb`) .then(takeFirst);
NeonDbError: bind message supplies 1 parameters, but prepared statement "" requires 0