#1 2016-01-29 22:15:37

array81
Member
From: Italy
Registered: 2010-07-23
Posts: 411

Trigger database changes

On server side is there a way to trigger database changes? I have find OnUpdateEvent event however this event is call "is called BEFORE deletion, and AFTER insertion or update". I need of a way to know when the database is ready after a upgrade (deletion, insertion, update) to copy it on remote location.

Is there a way? Thanks

Offline

#2 2016-01-30 08:54:01

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,666
Website

Re: Trigger database changes

Try the TSQLRestServer.OnAfterURI event.
Then check for Ctxt.Command = execORMWrite.

Offline

Board footer

Powered by FluxBB