Looking through the source code,

I deduce that

db(db.connection.source==auth.user_id)
(db.connection.target==request.args(1)).delete()

is the same as

db((db.connection.source==auth.user_id)) &
(db.connection.target==request.args(1))).delete()


Is this new syntax? I did not recall reading it in the book. Pls point
me to the section in the book if it is already there. Tks!

On Jun 12, 12:09 am, Massimo Di Pierro <massimo.dipie...@gmail.com>
wrote:
> Here is the source of the facebook clone
>
>  web2py.app.friends.w2p
> 1002KViewDownload

Reply via email to