Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit9d23d7c

Browse files
committed
Explain COALESCE example in the docs.
1 parent41e461d commit9d23d7c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

‎doc/src/sgml/func.sgml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10015,6 +10015,8 @@ SELECT ... WHERE CASE WHEN x <> 0 THEN y/x > 1.5 ELSE false END;
1001510015
<programlisting>
1001610016
SELECT COALESCE(description, short_description, '(none)') ...
1001710017
</programlisting>
10018+
This returns <varname>description</> if it is not null, or
10019+
<varname>short_description</> if it is not null, or <literal>(none)</>.
1001810020
</para>
1001910021

1002010022
<para>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp