Hi there!
I'd like to implement soft delete in my database. What would be best 
strategy you think?

I was thinking about this solution:
Plan is to mark the record with _deleted = true, and use 
onRecordBeforeRead() to SKIP if _deleted == true for non-admin users.

What might be the performance implications using a hook? ORestricted is 
implemented very similar way. Wouldn't it be better to do it on application 
level and use indexed _deleted field along with other WHERE conditions?

Thanks,
Matus


-- 

--- 
You received this message because you are subscribed to the Google Groups 
"OrientDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to