brianleroux/lawnchair — Issue #87: Last Inserted Key
Author: schwermer
Created: 2012-01-16 18:05:20+00:00
State: open

In most databases there is a way to retrieve the key of the last item that was inserted into the store. I propose a property to the Lawnchair class called 'lastKey' or something similar that is set to the key of the last item that was inserted or updated is easily accessible.

this.lastKey would simply be set before the save method returns this.

Is there a good reason this hasn't been done already?