循环 list 一条条更新效率不高,请教下是否有其他好方法?
book = Book.query.filter(Book.id == book_id).first() book = Book.query.filter(Book.id == str(book_id)).first()