Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

node and mysql like

   return db.query(`SELECT * FROM user WHERE fullname LIKE N'%${data.fullname}%' ORDER BY create_time DESC LIMIT ?, ? `, [data.start,data.limit], callback);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #node #mysql
ADD COMMENT
Topic
Name
7+2 =