2023.10.23
SELECT * FROM users WHERE users.name::text = ANY(string_to_array('John,Bob,Alice',',')::text[]);
簡単ですね!