<p dir="auto"><strong>Migrated issue, originally created by Elliot Cameron (<a href="https://github.com/3noch">@3noch</a>)</strong></p>
<p dir="auto">I'm using PostgreSQL and trying to build an array aggregate of tuples by selecting a column like this:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="sa.func.array_agg(sa.func.row(User.id, User.name))"><pre class="notranslate"><code class="notranslate">sa.func.array_agg(sa.func.row(User.id, User.name))
</code></pre></div>
<p dir="auto">This parses as an ugly list of characters.</p>
<p dir="auto">Putting the "row" on the outside works.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="sa.func.row(sa.func.array_agg(User.id), sa.func.array_agg(User.name))"><pre class="notranslate"><code class="notranslate">sa.func.row(sa.func.array_agg(User.id), sa.func.array_agg(User.name))
</code></pre></div>
<p dir="auto">Maybe I'm missing something.</p>
<p dir="auto"><strong>Migrated issue, originally created by Michael Bayer (<a href="https://github.com/zzzeek">@zzzeek</a>)</strong></p>
<p dir="auto">that is, all the functions in <a href="http://www.postgresql.org/docs/9.4/static/functions-json.html" rel="nofollow">http://www.postgresql.org/docs/9.4/static/functions-json.html</a> need to be possible without building subclasses of functions.</p>