Good day! Is there a way to select rows from db if I have a list of id? For example, there is a list [50, 45, 32, 11] and I want to make selection by this list and save the result in one object. How can I do that?
I tried: id_list = [50, 45, 32, 11] results=db(db.autos==id_list).select() But there was an error "no tables selected". Thanks in advance!