MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / within_group

Method within_group

lib/sqlalchemy/sql/elements.py:4995–5001  ·  view source on GitHub ↗

Produce a WITHIN GROUP (ORDER BY expr) clause against this function.

(
        self, *order_by: _ColumnExpressionArgument[Any]
    )

Source from the content-addressed store, hash-verified

4993 )
4994
4995 def within_group(
4996 self, *order_by: _ColumnExpressionArgument[Any]
4997 ) -> WithinGroup[_T]:
4998 """Produce a WITHIN GROUP (ORDER BY expr) clause against
4999 this function.
5000 """
5001 return WithinGroup(self, *order_by)
5002
5003 def within_group_type(
5004 self, within_group: WithinGroup[_T]

Callers 15

CoreFixturesClass · 0.45
test_within_groupMethod · 0.45
test_modeMethod · 0.45
test_percentile_contMethod · 0.45

Calls 1

WithinGroupClass · 0.85

Tested by 14

test_within_groupMethod · 0.36
test_modeMethod · 0.36
test_percentile_contMethod · 0.36
test_cume_distMethod · 0.36