Check out example codes for "node and mysql like". It will help you in understanding the concepts better.

Code Example 1

return db.query(`SELECT * FROM user WHERE fullname LIKE N'%${data.fullname}%' ORDER BY create_time DESC LIMIT ?, ? `, [data.start,data.limit], callback);

Learn ReactJs, React Native from akashmittal.com