Im writing my first project using express and node js and MySQLI’ve successfully managed to get my select query working.I’ve moved on to my create (insert).I’ve successfully managed to insert the record into the database. However I don’t understand how to update my view so that it contains the updated record.My data class that has the insert statement only gets back in the response the ID of the record that was created. If I refresh the page, it will successfully show the new record.What do I need to do in order to be able to create and display the new record ?Thanks for your assistance !
Submitted August 15, 2020 at 08:52AM by PuffOca
No comments:
Post a Comment