added examples, renamed getLastCreatedId to lastInserId