Skip to content

Commit 41ea6db

Browse files
madtiboThibaut MADELAINE
andauthored
fix(docs): reword what a table-like composite type is #769 (#292)
Co-authored-by: Thibaut MADELAINE <[email protected]>
1 parent d56ed97 commit 41ea6db

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

src/pages/postgraphile/smart-tags.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -329,8 +329,9 @@ Since version
329329
Applies to:
330330

331331
- Functions returning `SETOF` a table-like composite type (e.g. a table type,
332-
view, materialized view, etc): adds the `orderBy` argument to this connection,
333-
allowing to _sort_ the set by its columns/attributes.
332+
view, materialized view, etc, but _not_ a custom type): adds the `orderBy`
333+
argument to this connection, allowing to _sort_ the set by its
334+
columns/attributes.
334335
- Computed column functions with no required parameters and returning a scalar
335336
or array: allows this function to be used as an order in the `orderBy`
336337
argument for the parent table, allowing to _sort_ the parent table _by_ this
@@ -366,8 +367,9 @@ Since version
366367
Applies to:
367368

368369
- Functions returning `SETOF` a table-like composite type (e.g. a table type,
369-
view, materialized view, etc): adds the `condition` argument to this
370-
connection, allowing to _filter_ the set by any of its scalar fields.
370+
view, materialized view, etc, but _not_ a custom type): adds the `condition`
371+
argument to this connection, allowing to _filter_ the set by any of its
372+
scalar fields.
371373
- Computed column functions with no required parameters and returning a scalar
372374
or array: allows this function to be used as field in the `condition` argument
373375
for the parent table, allowing to _filter by_ this function's value the parent

0 commit comments

Comments
 (0)