0

I want to perform the following SQL query with the Supabase JS Client Library:

SELECT *
FROM users u
LEFT JOIN follows f
  ON u.id = f.followed_id
  AND f.follower_id = :some_id
WHERE f.followed_id IS NULL
  AND u.id != :some_id

Is the only way to achieve this by creating an RPC and calling it from the JS client?

1

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.