how to not save the feature in the database directly after the editing

Discussion created by fananou on May 15, 2013
Latest reply on May 16, 2013 by fananou
Hi ,
I'm a beginner with the api for javascript
so i have some difficulties with it, i have to do a web application
and i want ti know if it's possible when i'm editing for exemple a line or a point and after editing, it will not be saved directly in my database, cause i have a primary keys that it's not the ObjectID that i must specify its value before saving the feature in the database.