fix
This commit is contained in:
parent
6919d7c02f
commit
7d21c9ebc8
|
@ -1,12 +0,0 @@
|
||||||
package sql_placeholder
|
|
||||||
|
|
||||||
import "strings"
|
|
||||||
|
|
||||||
// 获取对应长度占位符号
|
|
||||||
func GetSqlPlaceholder(l uint) string {
|
|
||||||
s := make([]string, 0, int(l))
|
|
||||||
for i := 0; i < int(l); i++ {
|
|
||||||
s = append(s, "?")
|
|
||||||
}
|
|
||||||
return strings.Join(s, ",")
|
|
||||||
}
|
|
Loading…
Reference in New Issue
Block a user