lastinsertedid function inserted in easydb