Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

fetching data from mysqldb

user.fetchUser().then(rows => {
      console.log(rows);
      var email = rows[0].email;
      var passw = rows[0].pass;
      console.log("email--",email);
      console.log("passw--",passw);
    }).catch(err => {
      console.log(err)
    })
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #fetching #data #mysqldb
ADD COMMENT
Topic
Name
9+8 =