cubes_lite/sql/functions.py
def coalesce_args(self, aggregate, args):
        """Coalesce the value before aggregation of `aggregate`. `value` is a
        SQLAlchemy expression."""

        default_missing_value = 0

        return [
            funcs.coalesce(arg, coalesce_to)
            for arg, coalesce_to in zip(
                args,
                [
                    # TODO: use missing_value of aggregate
                    default_missing_value
                    for a in aggregate.depends_on
                ]
            )
        ]
Coalesce the value before aggregation of `aggregate`. `value` is a
        SQLAlchemy expression.
Coalesce the value before aggregation of `aggregate`. `value` is a
SQLAlchemy expression.
Coalesce the value before aggregation of ` aggregate ` . ` value ` is a SQLAlchemy expression .
def coalesce_args(self, aggregate, args):
        default_missing_value = 0
        return [
            funcs.coalesce(arg, coalesce_to)
            for arg, coalesce_to in zip(
                args,
                [
                    default_missing_value
                    for a in aggregate.depends_on
                ]
            )
        ]
def coalesce_args ( self , aggregate , args ) : default_missing_value = 0 return [ funcs . coalesce ( arg , coalesce_to ) for arg , coalesce_to in zip ( args , [ default_missing_value for a in aggregate . depends_on ] ) ]
Coalesce the value before aggregation of `aggregate`.
Coalesce the value before aggregation of ` aggregate ` .
"""Coalesce the value before aggregation of `aggregate`. `value` is a
        SQLAlchemy expression.""" # TODO: use missing_value of aggregate
self
aggregate
args