// NamedIn expands slice values in arg returning the modified query string
// and a new arg list that can be executed by a database.
NamedIn expands slice values in arg returning the modified query string
and a new arg list that can be executed by a database.
// NamedIn expands slice values in arg returning the modified query string // and a new arg list that can be executed by a database .
func (db *DB) NamedIn(queryIn string, arg interface{}) (query string, args []interface{}, err error) {
	query, args, err = sqlx.Named(queryIn, arg)
	if err == nil {
		query, args, err = sqlx.In(query, args...)
	}
	return db.Rebind(query), args, err
}
func ( db * DB ) NamedIn ( queryIn string , arg interface { } ) ( query string , args [ ] interface { } , err error ) { query , args , err = sqlx . Named ( queryIn , arg ) if err == nil { query , args , err = sqlx . In ( query , args ... ) } return db . Rebind ( query ) , args , err }
NamedIn expands slice values in arg returning the modified query string
and a new arg list that can be executed by a database.
NamedIn expands slice values in arg returning the modified query string and a new arg list that can be executed by a database .