Next.js Discord

Discord Forum

Unknown syntax sql-string

Answered
Sun bear posted this in #help-forum
Open in Discord
Sun bearOP
Hi, I saw the following code in the nextjs tutorial and I don't understand what it's doing (having sql next to a string). What does it do, and is it from JavaScript or TypeScript?
const invoiceCountPromise = sqlSELECT COUNT(*) FROM invoices;

3 Replies

Morelet’s Crocodile
Answer
Sun bearOP
@Morelet’s Crocodile Do you know how to mark this post as answered?
Morelet’s Crocodile
no idea!