Skip to content
Discussion options

You must be logged in to vote

It's not possible to do cross-schema joins directly for now - but you can create a view of enums.category into the public schema to make it work.

Basically:

CREATE VIEW public.category AS
SELECT * FROM enums.category

-- Extra step for making sure RLS applies to your view
ALTER VIEW public.category OWNER TO authenticated;

Then your JS snippet should work.

Replies: 9 comments 6 replies

Comment options

You must be logged in to vote
2 replies
@pjerryhu
Comment options

@pjerryhu
Comment options

Answer selected by sooqwaifr
Comment options

You must be logged in to vote
1 reply
@damien-schneider
Comment options

Comment options

You must be logged in to vote
1 reply
@louisprp
Comment options

Comment options

You must be logged in to vote
1 reply
@damien-schneider
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@GaryAustin1
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet