def get_first_last(session, spawn_id):
return session.query(func.min(Mystery.first_seconds), func.max(Mystery.last_seconds)) \
.filter(Mystery.spawn_id == spawn_id) \
.filter(Mystery.first_seen > conf.LAST_MIGRATION) \
.first()
评论列表
文章目录