Closed TursunboyevJahongir closed 3 days ago
Hi @TursunboyevJahongir, This error is not caused by the package: The query also fails when you run it on a fresh Laravel installation.
The issue is that you are trying to nest join clauses. What should the generated SQL look like?
I'm encountering an issue where an argument type mismatch occurs when using the JoinClause in conjunction with the PostgresConnection provided by the staudenmeir/laravel-cte package. The error message is as follows: Returned error:
Here’s the code snippet causing the issue:
Environment:
Laravel Version: 11 PHP Version: 8.3 Database Driver & Version: PostgreSQL16 Package Version: staudenmeir/laravel-cte 1.11.1