Next.js Discord

Discord Forum

nextjs separate sql query in a different file

Transvaal lion posted this in #help-forum
Open in Discord
Transvaal lionOP
Using this example:

is it possible to separate all these queries in different files?

SELECT id, name, username, email 
    FROM users 
    WHERE name ILIKE

in case I have a lot of queries?

0 Replies