try 3
This commit is contained in:
parent
e8e9346a70
commit
e8c58e8c15
1 changed files with 2 additions and 2 deletions
|
@ -131,8 +131,8 @@ class MainController extends AppController {
|
||||||
$page = intval($this->request->query('page'));
|
$page = intval($this->request->query('page'));
|
||||||
|
|
||||||
$conn = ConnectionManager::get('default');
|
$conn = ConnectionManager::get('default');
|
||||||
$stmt = $conn->execute('SELECT COUNT(id) AS Total FROM claim');
|
// $stmt = $conn->execute('SELECT COUNT(id) AS Total FROM claim');
|
||||||
$count = $stmt->fetch(\PDO::FETCH_OBJ);
|
// $count = $stmt->fetch(\PDO::FETCH_OBJ);
|
||||||
$numClaims = 20000000;
|
$numClaims = 20000000;
|
||||||
|
|
||||||
$stmt = $conn->execute('SELECT MAX(id) AS MaxId FROM claim');
|
$stmt = $conn->execute('SELECT MAX(id) AS MaxId FROM claim');
|
||||||
|
|
Loading…
Reference in a new issue