DBFlow
DBFlow copied to clipboard
Get Id of an inserted entry
I use
Model model = new Model();
model.save(false);
to insert new data to the table. It is possible to get the id of the inserted entry?
are you running at least 1.4.4? If its an Column.PRIMARY_KEY_AUTO_INCREMENT on save() the key is stored in the model.
thanks