Skip to content

Commit e1333f5

Browse files
committed
Deploy 20230821_121133
1 parent 158dfbe commit e1333f5

7 files changed

Lines changed: 90 additions & 8 deletions

File tree

news/rss.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Graphile News]]></title><description><![CDATA[Community funded open source utilities to build powerful, performant and extensible applications rapidly]]></description><link>https://graphile.org</link><generator>GatsbyJS</generator><lastBuildDate>Mon, 07 Aug 2023 15:30:42 GMT</lastBuildDate><item><title><![CDATA[PostGraphile V5 public beta — get involved!]]></title><description><![CDATA[Announced 2023-08-03 by the Graphile Team We need help writing automated tests, validating it works in your real-world
1+
<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Graphile News]]></title><description><![CDATA[Community funded open source utilities to build powerful, performant and extensible applications rapidly]]></description><link>https://graphile.org</link><generator>GatsbyJS</generator><lastBuildDate>Mon, 21 Aug 2023 12:12:05 GMT</lastBuildDate><item><title><![CDATA[PostGraphile V5 public beta — get involved!]]></title><description><![CDATA[Announced 2023-08-03 by the Graphile Team We need help writing automated tests, validating it works in your real-world
22
applications…]]></description><link>https://graphile.org/news/20230803-postgraphile-v5-beta/</link><guid isPermaLink="false">https://graphile.org/news/20230803-postgraphile-v5-beta/</guid><pubDate>Thu, 03 Aug 2023 01:00:00 GMT</pubDate><content:encoded>&lt;p&gt;&lt;em&gt;Announced 2023-08-03 by the Graphile Team&lt;/em&gt;&lt;/p&gt;
33
&lt;p class=&apos;intro&apos;&gt;
44
It’s finally here! The day has come that you can get your hands on an early

page-data/postgraphile/computed-columns/page-data.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

page-data/postgraphile/custom-queries/page-data.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

page-data/postgraphile/enums/page-data.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

postgraphile/computed-columns/index.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,9 @@
5454
of calling a function defined in the PostgreSQL schema. This function will
5555
automatically be exposed to the resultant GraphQL schema as a field on the type;
5656
it can accept arguments that influence its result, and may return either a
57-
scalar, record, list or a set. Sets (denoted by <code class="language-text">RETURNS SETOF ...</code>) are exposed
58-
as <a href="/postgraphile/connections/">connections</a>.</p>
57+
scalar, record, <a href="/postgraphile/enums/#functions-returning-table-enums">enum</a>,
58+
list or a set. Sets (denoted by <code class="language-text">RETURNS SETOF ...</code>) are exposed as
59+
<a href="/postgraphile/connections/">connections</a>.</p>
5960
<p><em>Performance note: we inline these function calls into the original <code class="language-text">SELECT</code>
6061
statement, so there's no N+1 issues - it's very efficient.</em></p>
6162
<p>To create a function that PostGraphile will recognise as a computed column, it

postgraphile/custom-queries/index.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,8 @@
5252
</ul></div></div><div class="edit-this-page" style="display:"><a href="https://github.com/graphile/graphile.github.io/edit/develop/src/pages/postgraphile/custom-queries.md">📝 Suggest improvement/edit this page</a></div><h2 class="mt3">Custom Queries</h2><div><p>You can add root-level <code class="language-text">Query</code> fields to your GraphQL schema using "Custom
5353
Queries". These are PostgreSQL functions, similar to
5454
<a href="/postgraphile/computed-columns/">computed columns</a>, that can return scalars,
55-
records, lists or sets. Sets (denoted by <code class="language-text">RETURNS SETOF ...</code>) are exposed as
55+
records, <a href="/postgraphile/enums/#functions-returning-table-enums">enums</a>, lists or
56+
sets. Sets (denoted by <code class="language-text">RETURNS SETOF ...</code>) are exposed as
5657
<a href="/postgraphile/connections/">connections</a>. The arguments to these functions will
5758
be exposed via GraphQL - named arguments are preferred, if your arguments are
5859
not named we will assign them an auto-generated name such as <code class="language-text">arg1</code>.</p>

0 commit comments

Comments
 (0)