thank you so much for your replied vasile, but, unfortunately is not going to work because the syntax error related with &
e.g. like this is return an error comments = db(db.comment.image_id == image.id *&* db.comment.is_active == True).select(orderby = ~db_comment.id) comments = db(db.comment.image_id == image.id *&&* db.comment.is_active == True).select(orderby = ~db_comment.id) is there any solutions for this? thank you so much in advance

