insert into with mix of static and table values
How might I execute an insert into that combines JS-side values with a select, like:
(Where, 16, 32 and 'hello world' are JS variables, not true literals)
4 Replies
Yes, like that! I thought it was kysely.val (as did GPT), but didn't see the sql one. Also weird that it needs the alias, but doable.
GPT doesn't know kysely. It always lies.
Yep, Kysely didn't exist when the GPT training data was collected.