Updated getInsertId() to work across drivers that may or may not require an insert ID