Lines Matching refs:lastInsertId
2 MySQL PDO->lastInsertId()
16 if ('0' !== ($tmp = $db->lastInsertId()))
17 … printf("[001] No query has been run, lastInsertId() should return '0'/string got '%s'/%s\n",
20 if ('0' !== ($tmp = $db->lastInsertId('sequence_name')))
25 if ('0' !== ($tmp = $db->lastInsertId()))
29 if ('0' !== ($tmp = $db->lastInsertId()))
33 if ('0' !== ($tmp = $db->lastInsertId()))
38 if ('0' !== ($tmp = $db->lastInsertId()))
42 if ('0' !== ($tmp = $db->lastInsertId()))
47 if ('0' !== ($tmp = $db->lastInsertId()))
51 if ('101' !== ($tmp = $db->lastInsertId()))
57 $next_id = (int)$db->lastInsertId();
71 $next_id = (int)$db->lastInsertId();
95 $next_id = (int)$db->lastInsertId();