plasmidhq / plasmid

A browser database with optional multi-device syncronization
http://plasmid.readthedocs.org/en/latest/
30 stars 1 forks source link

More detailed events/hooks on updates #42

Open ironfroggy opened 11 years ago

ironfroggy commented 11 years ago

When making any writes in a transaction, we need events or hooks for:

These steps will be pre, *, and post

Write events to distinguish

I'd like to have events that can distinguish between creating and replacing. This is hard to do, I might now. The only way to do this consistently is to do a get before each put, which is costly.