Lines Matching refs:lastInsertId
2 MySQL PDO->lastInsertId()
17 if ('0' !== ($tmp = $db->lastInsertId()))
18 … printf("[001] No query has been run, lastInsertId() should return '0'/string got '%s'/%s\n",
21 if ('0' !== ($tmp = $db->lastInsertId('sequence_name')))
26 if ('0' !== ($tmp = $db->lastInsertId()))
30 if ('0' !== ($tmp = $db->lastInsertId()))
34 if ('0' !== ($tmp = $db->lastInsertId()))
39 if ('0' !== ($tmp = $db->lastInsertId()))
43 if ('0' !== ($tmp = $db->lastInsertId()))
48 if ('0' !== ($tmp = $db->lastInsertId()))
52 if ('101' !== ($tmp = $db->lastInsertId()))
58 $next_id = (int)$db->lastInsertId();
72 $next_id = (int)$db->lastInsertId();
96 $next_id = (int)$db->lastInsertId();