elements.py 文件源码

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

项目:python_ddd_flask 作者: igorvinnicius 项目源码 文件源码
def over(self, partition_by=None, order_by=None):
        """Produce an OVER clause against this filtered function.

        Used against aggregate or so-called "window" functions,
        for database backends that support window functions.

        The expression::

            func.rank().filter(MyClass.y > 5).over(order_by='x')

        is shorthand for::

            from sqlalchemy import over, funcfilter
            over(funcfilter(func.rank(), MyClass.y > 5), order_by='x')

        See :func:`~.expression.over` for a full description.

        """
        return Over(self, partition_by=partition_by, order_by=order_by)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号