V1.2.0 added method fetchLastInsert() and modified method insert()