Thursday, 13 August 2020

Crud operations

Hi everbody,Im trying to learn node by myself, i've created an app that can perform crud operations over a mysql database. i'd like to go a little further and add a second table, but the only way that i've found to operate over 2 table is to clone routes and views and replace the destination on the sql tables.So, now i have 2 /edit routes, and 2 /create and so on...is this right? or there's a way of share a single view to operate over 2 tables?thanks.

Submitted August 13, 2020 at 09:43PM by Fun-Classroom-961

No comments:

Post a Comment