I have a geodatabase that I'm storing data to. When I add a new feature I need to know its OBJECTID right away as that is my only Primary Key in the table but the ListenableFuture currently returns a Void object.
Normally with SQLite, this is the expected behavior on record insertion with a returned ROWID (-1 on failure).
Am I missing something? Also, what would be a possible workaround?
I know I could maybe query for the latest OBJECTID after my feature is added but is there another way?
TIA