Skip to content
Advertisement

SQL error 42P01 when using jsonb_to_recordset function

I’m trying to display the contents of the jsonb column using the jsonb_to_recordset function:

But get the following error

The function itself works when I substitute the values manually. Сan’t figure out what the problem is.

Advertisement

Answer

Write it as a FROM...JOIN:

User contributions licensed under: CC BY-SA
9 People found this is helpful
Advertisement