fuzzysearch/fuzzysearch-api/queries/handle_twitter.sql

10 lines
171 B
SQL

SELECT
exists(
SELECT
1
FROM
twitter_user
WHERE
lower(data ->> 'screen_name') = lower($1)
) "exists!";