Thank you Johann, you got me thinking! So if I have a bunch of records and some are existing in the tables already, I would have to go through each of them to perform a update_or_insert. Am I wrong to say that this method is resource intensive? Is there a way to ease the db load?
(And I understand this may be more a python question than web2py) An example would be adding tags to a post. On Dec 15, 2:37 pm, Johann Spies <johann.sp...@gmail.com> wrote: > On 15 December 2011 00:40, lyn2py <lyn...@gmail.com> wrote: > > > There's bulk_insert and update_or_insert, but is there a function for > > bulk_update_or_insert for DAL? > > If the code has to decide on a per-record basis whether it should be an > update or insert then it is no longer bulk_*. Or do I misunderstand you? > > Regards > Johann > > -- > Because experiencing your loyal love is better than life itself, > my lips will praise you. (Psalm 63:3)