model.py 文件源码

python
阅读 24 收藏 0 点赞 0 评论 0

项目:fleaker 作者: croscon 项目源码 文件源码
def base_query(cls):
        """Method that should return the basic query that all queries will use.

        The default base query that just returns a blank ``SELECT`` statement.
        It should be overridden in child classes when ``JOIN`` or ``WHERE``
        will be needed for all queries.

        Returns:
            :py:class:`peewee.SelectQuery`:
                An unexecuted query with no logic applied.
        """
        return cls.select()
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号