db.SqlDB.Query("SELECT id,name FROM test_table where title name like CONCAT('%',?,'%');", key) 参考: https://blog.csdn.net/cyberspecter/article/details/84936102 https://blog.csdn.net/qq_15437667/article/details/78780945 转载于:https://www.cnblogs.com/yuwentims/p/11054922.html