sqlalchemy.exc.InternalError: (cymysql.err.InternalError) (1054, "Unknown column 'gift.create_time' in 'field list'") [SQL: 'SELECT DISTINCT gift.create_time AS gift_create_time, gift.status AS gift_status, gift.id AS gift_id, gift.uid AS gift_uid, gift.isbn AS gift_isbn, gift.launched AS gift_launched \nFROM gift \nWHERE gift.launched = false AND gift.status = %s GROUP BY gift.isbn ORDER BY gift.create_time \n LIMIT %s'] [parameters: (1, 30)] (Background on this error at: http://sqlalche.me/e/2j85)
错误原因是不是create_time的问题?
7月老师深入浅出剖析Flask核心机制,和你一起探讨Python高级编程
了解课程