Saturday 21 November 2015

How do I use database functions across different files? (Express/Knex)

I'm using functions written to Knex to handle my database calls. I was using one file, but I split the files into separate routes. Now I'm not sure how to use those functions in the routes.Any help please?

Submitted November 22, 2015 at 01:14AM by scottcfr

No comments:

Post a Comment