• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
need opinions: trigger or model ?

#1
[eluser]adwin[/eluser]
I am used to do programming using Oracle Triggers but right now I must work with MySQL db.
I know that MySQL Db is quite new in Triggers and stored procedure. I was thinking should I use MYSQL trigger or using procedural/method that implemented in Model ?

what is the best solutions. can CI model immite like what trigger does ?

for example each CI model has method for doing something before/after inserting/updating/deleting data ... so those method will be called right before/after the specific record updated also can it "rollback" when something wrong happened.

Thanks .


Messages In This Thread
need opinions: trigger or model ? - by El Forum - 04-20-2008, 10:41 PM
need opinions: trigger or model ? - by El Forum - 04-23-2008, 11:58 AM
need opinions: trigger or model ? - by El Forum - 04-23-2008, 05:52 PM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2019 MyBB Group.