lxd/db/query/expr.go
func Params(n int) string {
	tokens := make([]string, n)
	for i := 0; i < n; i++ {
		tokens[i] = "?"
	}
	return fmt.Sprintf("(%s)", strings.Join(tokens, ", "))
}
func Params(n int) string {
	tokens := make([]string, n)
	for i := 0; i < n; i++ {
		tokens[i] = "?"
	}
	return fmt.Sprintf("(%s)", strings.Join(tokens, ", "))
}
func Params ( n int ) string { tokens := make ( [ ] string , n ) for i := 0 ; i < n ; i ++ { tokens [ i ] = " " } return fmt . Sprintf ( " " , strings . Join ( tokens , " " ) ) }
// Params returns a parameters expression with the given number of '?'
// placeholders. E.g. Params(2) -> "(?, ?)". Useful for IN and VALUES
// expressions.
Params returns a parameters expression with the given number of ? placeholders . E . g . Params ( 2 ) - > ( ? ? ) . Useful for IN and VALUES expressions .