Please forgive me if I'm interpreting your message incorrectly, but are you saying MySQL is not a "serious" database? What DB do you recommend?
On Tuesday, March 17, 2015 at 3:58:29 PM UTC-4, Niphlod wrote: > > an ON INSERT trigger usually happens at the moment you're about to insert > a new record. This will make inserting the same row over and over just an > update to the row, instead of an insertion of the new one. > With that in place, you can skip your own validation and just insert the > whole file, the database will take care of updating an existing or > inserting a new one. > Now, every serious database has it, but as far as I recall in Mysql is not > possible. However, mysql has "UPSERT" . You can read about it on the > manuals, and evaluate all pros and cons. > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.