DEV Community

loading...

Discussion on: Solution to multiple connections with knex while using Next.js

Collapse
fredestrik profile image
Frédéric Lang

good article. You should give an example of how you make a db query in pages/api/user/index.js in your last code example. Here you just respond to the request with a message (not much useful).

Collapse
barelyhuman profile image
Reaper Author

I updated this on my blog and here both, I stopped posting over here long back, mostly post on my blog now

Forem Open with the Forem app