In principle some more optimizations are possible under the hood in
DAL...

On Mar 8, 10:45 am, LightOfMooN <vladsale...@yandex.ru> wrote:
> Thanks for this video.
> One question:
> lines 97 and 100:
> 'name' = 'name'?
>
> it's often need to get new info of updated record.
>
> For example, in controller:
> row = db(db.products.id==123).select().first()
> row.update_record(name='helloworld')
>
> so if I want to show new updated record with id==123 in the view, I
> need one more query
> row = db(db.products.id==123).select().first() again to get it updated
> (or I'm missing something?)
> It could be better if I can do smth like updated_row =
> row.update_record(name='helloworld'), but it's impossible.
> Thx
>
> On 8 ÍÁÒ, 06:02, Massimo Di Pierro <massimo.dipie...@gmail.com> wrote:
>
>
>
>
>
>
>
> >http://vimeo.com/20760298

Reply via email to