Ciekawostki


==============================
BŁĘDNE ZAPYTANIE!
Błędne zapytanie:
    SELECT "category_tree"."id"
      FROM "public"."category_tree"
   WHERE "category_tree"."articles_count" > 0
AND    "category_tree"."id" != 400
AND    "category_tree"."orderby" < 0
AND    "category_tree"."parent_id"
  ORDER BY "category_tree"."orderby" DESC NULLS LAST
     LIMIT 1

Treść błędu: ERROR: argument of AND must be type boolean, not type integer LINE 6: AND "category_tree"."parent_id" ^
Kod błędu: -1 ERROR: argument of AND must be type boolean, not type integer LINE 6: AND "category_tree"."parent_id" ^
==============================
(/usr/home/Termoclima/domains/bakalie.com/public_html/vendor/batusystems/sorm/Driver/Pgsql.php:282)