mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-12-15 08:20:16 +08:00
Document (compositeval).* field selection syntax
This commit is contained in:
parent
7085891784
commit
80ada4c0db
@ -1448,6 +1448,15 @@ $1.somecolumn
|
||||
or that <structname>mytable</> is a table name not a schema name
|
||||
in the second case.
|
||||
</para>
|
||||
|
||||
<para>
|
||||
In a select list (see <xref linkend="queries-select-lists">), you
|
||||
can ask for all fields of a composite value by
|
||||
writing <literal>.*</literal>:
|
||||
<programlisting>
|
||||
(compositecol).*
|
||||
</programlisting>
|
||||
</para>
|
||||
</sect2>
|
||||
|
||||
<sect2>
|
||||
|
Loading…
Reference in New Issue
Block a user