fix:allow large cte functions

This commit is contained in:
hackerESQ
2024-10-28 21:55:56 -05:00
parent 1235abadd0
commit 642d31dc31
+3
View File
@@ -242,6 +242,9 @@ class Holding extends Model
if (config('database.default') === 'sqlite') {
$date_interval = "date(date, '+1 day')";
} else {
DB::statement('SET cte_max_recursion_depth=1000000;');
}
return DB::table(DB::raw("(