Hi, I didn't execute a hook

example

CREATE CLASS Invoice EXTENDS OTriggered

ALTER CLASS Invoice CUSTOM onAfterCreate=invoiceCreated


CREATE CLASS test EXTENDS V


CREATE FUNCTION invoiceCreated "INSERT INTO test SET name='working'" LANGUAGE 
SQL


INSERT INTO Invoice CONTENT { number: 100, notes: 'This is a test' }


hook doesn't work

What is wrong?

-- 

--- 
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