Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

SQL PROMISES REQ, RES

app.get('/notes', function(req, res) {
  Note.findAll().then(notes => res.json(notes));
});
Source by pharos.shttps #
 
PREVIOUS NEXT
Tagged: #SQL #PROMISES #RES
ADD COMMENT
Topic
Name
7+8 =