摘要: ```golang //原文链接:https://www.jianshu.com/p/a0569157c418 golang mysql拼接子查询 使用fmt.Sprintf拼接SQL 实例代码 func Select(ids []string) string { idStr := strings.Join(ids, "','") sqlText := "select id, name, age, 阅读全文
posted @ 2019-09-10 17:16 nanaindi 阅读(1840) 评论(0) 推荐(0)