Open willruggiano opened 3 weeks ago
await sql` UPDATE foo AS f SET ${sql({ bar: sql`now()` }, ["bar"])} `;
expected;
update foo as f set bar = now()
actual:
update foo as f set now() as "bar"
Removing the alias does the trick.
expected;
actual:
Removing the alias does the trick.