The following code returns an error:
stmt, err := DBCon.Prepare("SELECT * FROM item WHERE market_hash_name LIKE '%?%' ")
handle_error(err)
res, err := stmt.Query(market_hash_name)
the error:
2022/07/09 19:57:56 http: panic serving <ip> sql: expected 0 arguments, got 1
this statement works:
stmt, err := DBCon.Prepare("SELECT * FROM item WHERE market_hash_name LIKE ? ")
How can I escape the %sign?