# sqlalchemy 2.1.9 (MIT), harvested by tools/harvest_corpus.py
=== input
Produce a :class:`.AggregateOrderBy` object against a function.

        Used for aggregating functions such as :class:`_functions.array_agg`,
        ``group_concat``, ``json_agg`` on backends that support ordering via an
        embedded ORDER BY parameter, e.g. PostgreSQL, MySQL/MariaDB, SQLite.
        When used on backends like Oracle and SQL Server, SQL compilation uses
        that of :class:`.WithinGroup`.

        See :func:`_expression.aggregate_order_by` for a full description.

        .. versionadded:: 2.1 Generalized the PostgreSQL-specific
          :func:`_postgresql.aggregate_order_by` function to a method on
          :class:`.Function` that is backend agnostic.

        .. seealso::

            :class:`_functions.aggregate_strings` - backend-agnostic string
            concatenation function which also supports ORDER BY

        
=== parse rest
short_description: 'Produce a :class:`.AggregateOrderBy` object against a function.'
long_description: |
  Used for aggregating functions such as :class:`_functions.array_agg`,
  ``group_concat``, ``json_agg`` on backends that support ordering via an
  embedded ORDER BY parameter, e.g. PostgreSQL, MySQL/MariaDB, SQLite.
  When used on backends like Oracle and SQL Server, SQL compilation uses
  that of :class:`.WithinGroup`.
  
  See :func:`_expression.aggregate_order_by` for a full description.
  
  .. versionadded:: 2.1 Generalized the PostgreSQL-specific
    :func:`_postgresql.aggregate_order_by` function to a method on
    :class:`.Function` that is backend agnostic.
  
  .. seealso::
  
      :class:`_functions.aggregate_strings` - backend-agnostic string
      concatenation function which also supports ORDER BY
blank_after_short_description: True
blank_after_long_description: False
style: rest
=== detect
rest
=== compose rest
Produce a :class:`.AggregateOrderBy` object against a function.

Used for aggregating functions such as :class:`_functions.array_agg`,
``group_concat``, ``json_agg`` on backends that support ordering via an
embedded ORDER BY parameter, e.g. PostgreSQL, MySQL/MariaDB, SQLite.
When used on backends like Oracle and SQL Server, SQL compilation uses
that of :class:`.WithinGroup`.

See :func:`_expression.aggregate_order_by` for a full description.

.. versionadded:: 2.1 Generalized the PostgreSQL-specific
  :func:`_postgresql.aggregate_order_by` function to a method on
  :class:`.Function` that is backend agnostic.

.. seealso::

    :class:`_functions.aggregate_strings` - backend-agnostic string
    concatenation function which also supports ORDER BY
