Comment Comment by rriley Niiice! I finally understand the origin of this JS syntax used in SQL queries and GraphQL:sql`SELECT * FROM users WHERE id = ${userId}`const q = gql` query GetUser { user(id: ${userId}) { name email } } `; parent rriley 9 months ago
sql`SELECT * FROM users WHERE id = ${userId}`
const q = gql` query GetUser { user(id: ${userId}) { name email } } `;