Set limit to jo query results. #762
This commit is contained in:
parent
19840c0305
commit
fde9b367ec
1 changed files with 1 additions and 1 deletions
|
|
@ -66,7 +66,7 @@ class GetJobOrderArchiveDataCommand extends Command
|
||||||
FROM job_order
|
FROM job_order
|
||||||
WHERE YEAR(date_create) = :year
|
WHERE YEAR(date_create) = :year
|
||||||
ORDER BY date_create
|
ORDER BY date_create
|
||||||
LIMIT 150000';
|
LIMIT 125000';
|
||||||
|
|
||||||
$query_stmt = $db->prepare($query_sql);
|
$query_stmt = $db->prepare($query_sql);
|
||||||
$query_stmt->bindValue('year', $year, PDO::PARAM_STR);
|
$query_stmt->bindValue('year', $year, PDO::PARAM_STR);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue