I noticed during testing the the database will jump a number in the index if someone else inserts a record while I've issued the nextId(). Does issuing this command reserve the next id?
Example:
User 1:
$nextId = $db->nextId('id');
echo "Next id: ".$nextId."<br />";
results: 1234, but no insert happen as I'm just getting the nextId()
User 2: (Just right after user 1)
$rs = $db->query(INSERT NEW RECORD HERE...);
id = 1235, Inserted new record
Now I go to query the DB manually and I see record id 1233 and 1235, but the 1234 that I did the nextId() for is missing in the DB.
Is this the expected results?