Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

node.js mysql wildcard

const sql = 'SELECT * FROM mytable WHERE mycolumn LIKE ?';
const result = await connect.execute(sql, [`%${value}%`]);
 
PREVIOUS NEXT
Tagged: #mysql #wildcard
ADD COMMENT
Topic
Name
3+5 =