Is the most efficient way to just modify the json before I perform the bulk_insert? Or should I break out the fields individually.
On Tuesday, July 8, 2014 10:37:00 PM UTC-4, LoveWeb2py wrote: > > I have data in json format and I love the db.table.bulk_insert(jsondata) > feature > > However, if I try to add a field it doesn't take it. For example: > db.table.bulk_insert(jsondata, modified_by=db.auth_user['auth.user.id > ]['username']) > > Any thoughts on how I could accomplish this? > -- 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.