Hi Stas, you could implement a hook for this. You can do this in Java or Javascript (see http://www.orientechnologies.com/docs/last/Hook.html ), just ensure to * bind your application logic on the following events: onBeforeCreate, onBeforeUpdate * let your hook functions return RECORD_CHANGED
Luigi 2015-03-22 0:27 GMT+01:00 Stas Dmitrenko <[email protected]>: > Hello. I'm new here. So could you please help? I want to strip all html > characters from text before inserting to DB. Is there a way to do that in > OrientDB? It can work like this: > OrientDB got call with Insert or Update. Then it replaces all html > characters with safe equivalent and saves it (or just delete all this > staff). Done) > > How to do that? > > -- > > --- > 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. > -- --- 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.
