What does Go want for the second param in this SQL query. I am trying to use the IN lookup in postgres.
IN
stmt, err := db.Prepare(\"SELECT * FRO
Rather pedestrian and only to be used if server generated. Where UserIDs is a slice (list) of strings:
sqlc := `select count(*) from test.Logins where UserID in ("` + strings.Join(UserIDs,`","`) + `")` errc := db.QueryRow(sqlc).Scan(&Logins)