-
Notifications
You must be signed in to change notification settings - Fork 326
Native SQL Function in Object #463
Unanswered
bestickley
asked this question in
Q&A
-
const users = [{ id: "gen_random_uuid()", name: "ben" }]; await sql`insert into user ${sql(users)}`
This throws an error b/c I cannot use a native sql function as a paramaterized value. Any easy fix?
Beta Was this translation helpful? Give feedback.
All reactions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment