flask+mysql:AttributeError: ‘BaseQuery‘ object has no attribute ‘id‘

    科技2022-08-25  95

    查询数据库时出现此类错误:AttributeError: 'BaseQuery' object has no attribute 'id'

    查询语句有错误,记得检查

    Processed: 0.019, SQL: 9