==============================
BŁĘDNE ZAPYTANIE!
Błędne zapytanie:
    SELECT "firm_group"."id",
           "firm_group"."name",
           "firm_group"."description"
      FROM "public"."firm_group"
   WHERE "firm_group"."id" IN (    SELECT DISTINCT jsonb_array_elements("group")::text::int
      FROM "public"."firm"
)
  ORDER BY "firm_group"."orderby" ASC NULLS LAST

Treść błędu: ERROR: cannot extract elements from an object
Kod błędu: -1 ERROR: cannot extract elements from an object
==============================
(/usr/home/Termoclima/domains/bakalie.com/public_html/vendor/batusystems/sorm/Driver/Pgsql.php:282)