Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to write like query in node js

connection.query('SELECT * FROM job where domainname like ?', ['%' + request.body.domain + '%'] ,function(error, results){
        response.render('./results',{rows:results});    

});
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #write #query #node #js
ADD COMMENT
Topic
Name
7+3 =