Inserting records with triggers
2 posts
• Page 1 of 1
Inserting records with triggersI'm working on a project, and I'm trying to make it so that whenever I insert a record into a certain table, a new record is created in another table with information about the first one. Is there a way to do this with triggers?
Re: Inserting records with triggersYes. Use beforeInsert() or afterInsert()
They work similar to the beforeSave() trigger except they only operate on insert. http://xataface.com/wiki/beforeSave -Steve
2 posts
• Page 1 of 1
Who is onlineUsers browsing this forum: No registered users and 11 guests |