> Groups under the DAL to be a single record. Since Big Table > transactions are limited to one Entity Group per transaction, this > means that we are limited to one record per transaction. Right? >
You have it right. > > In the example above, 'count' is just an example of some arbitrary > column in the record, right? Can I have multiple assignments? Can I > mix lambda and non-lambda assignments? E.g.: > > row.update_record(count=lambda r: r.count+1, vote_score=lambda r: > calculate_vote_score(), preference='blue') > Yes, you would be able to mix lamdas/functions and values. On the subject of passing lamdas as attributes, the field.default= should also recognize any lambda/callable and call it on demand: def uuid(): import uuid return uuid.uuid4() db.table.created_at.default=t2.now db.table.uuid.default=uuid Robin --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to web2py@googlegroups.com To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---