Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 15 additions & 16 deletions doc/src/sgml/ref/delete.sgml
Original file line number Diff line number Diff line change
Expand Up @@ -195,8 +195,8 @@ DELETE FROM [ ONLY ] <replaceable class="parameter">table_name</replaceable> [ *
Only rows for which this expression returns <literal>true</literal>
will be deleted.
-->
<type>boolean</type>型の値を返す式です
この式が<literal>true</literal>を返す行のみが削除されます
<type>boolean</type>型の値を戻す式です
この式が<literal>true</literal>を戻す行のみが削除されます
</para>
</listitem>
</varlistentry>
Expand Down Expand Up @@ -233,8 +233,7 @@ DELETE FROM [ ONLY ] <replaceable class="parameter">table_name</replaceable> [ *
An optional substitute name for <literal>OLD</literal> or
<literal>NEW</literal> rows in the <literal>RETURNING</literal> list.
-->
《機械翻訳》オプショナルは、<literal>RETURNING</literal>リストの中のまたは<literal>NEW</literal>行を名前に置き換えます。
<literal>OLD</literal>
<literal>RETURNING</literal>リストの<literal>OLD</literal>または<literal>NEW</literal>行に付与できる任意の代替名です。
</para>

<para>
Expand All @@ -247,9 +246,9 @@ DELETE FROM [ ONLY ] <replaceable class="parameter">table_name</replaceable> [ *
hidden and the old or new rows must be referred to using the alias.
For example <literal>RETURNING WITH (OLD AS o, NEW AS n) o.*, n.*</literal>.
-->
《機械翻訳》デフォルトでは、ターゲットテーブルの古い値は、<literal>OLD.<replaceable class="parameter">column_name</replaceable></literal>または<literal>OLD.*</literal>を記述することで、新しい値は<literal>NEW.<replaceable class="parameter">column_name</replaceable></literal>または<literal>NEW.*</literal>を記述することで返すことができます
別名が提供されている場合、これらの名前は隠され、新旧の行は別名を使用して参照する必要があります
例<literal>RETURNING WITH (OLD AS o, NEW AS n) o.*, n.*</literal>の場合。
デフォルトでは、対象テーブルの古い値は、<literal>OLD.<replaceable class="parameter">column_name</replaceable></literal>または<literal>OLD.*</literal>と戻され、新しい値は<literal>NEW.<replaceable class="parameter">column_name</replaceable></literal>または<literal>NEW.*</literal>と戻されます
別名が提供されている場合、これらの名前は隠され、古い、もしくは新しい行は別名を使用します
例<literal>RETURNING WITH (OLD AS o, NEW AS n) o.*, n.*</literal>
</para>
</listitem>
</varlistentry>
Expand All @@ -265,9 +264,9 @@ DELETE FROM [ ONLY ] <replaceable class="parameter">table_name</replaceable> [ *
or table(s) listed in <literal>USING</literal>.
Write <literal>*</literal> to return all columns.
-->
各行を削除した後に<command>DELETE</command>によって計算され、返される式です
各行を削除した後に<command>DELETE</command>によって計算され、戻される式です
この式には、<replaceable class="parameter">table_name</replaceable>で指名したテーブルまたは<literal>USING</literal>で指定したテーブルの任意の列名を使用することができます。
すべての列を返す場合は<literal>*</literal>と記載してください。
すべての列を戻す場合は<literal>*</literal>と記載してください。
</para>

<para>
Expand All @@ -280,8 +279,8 @@ DELETE FROM [ ONLY ] <replaceable class="parameter">table_name</replaceable> [ *
<literal>*</literal>, or a column name or <literal>*</literal> qualified
using the target table name or alias will return old values.
-->
《機械翻訳》カラム名前or <literal>*</literal> <literal>OLD</literal> or <literal>NEW</literal>または対応する<replaceable class="parameter">output_別名</replaceable>for <literal>OLD</literal>または<literal>NEW</literal>を使用して修飾すると、古い値または新しい値が戻されます。
非修飾のカラム名前or <literal>*</literal>、またはターゲットテーブル名前または別名を使用して修飾されたカラム名前または<literal>*</literal>は、古い値を結果します
列名や<literal>*</literal> <literal>OLD</literal><literal>NEW</literal>または対応する<replaceable class="parameter">output_alias</replaceable> を使用して修飾すると、古い値または新しい値が戻されます。
非修飾の列名や<literal>*</literal>、または対象テーブル名前もしくは別名を使用して修飾された列名または<literal>*</literal>は、古い値が戻されます
</para>

<para>
Expand All @@ -291,8 +290,8 @@ DELETE FROM [ ONLY ] <replaceable class="parameter">table_name</replaceable> [ *
rule causes an <command>INSERT</command> or <command>UPDATE</command>
to be executed instead, the new values may be non-<literal>NULL</literal>.
-->
《機械翻訳》シンプル<command>DELETE</command>では、すべての新しい値は<literal>NULL</literal>になります。
ただし、<literal>ON DELETE</literal>ルールによって<command>INSERT</command>または<command>UPDATE</command>が代わりに実行される場合、新しい値は非<literal>NULL</literal>になる可能性があります
シンプルな<command>DELETE</command>では、すべての新しい値は<literal>NULL</literal>になります。
しかし<literal>ON DELETE</literal>ルールによって<command>INSERT</command>または<command>UPDATE</command>が代わりに実行される場合、新しい値は<literal>NULL</literal>ではない可能性があります
</para>
</listitem>
</varlistentry>
Expand All @@ -304,7 +303,7 @@ DELETE FROM [ ONLY ] <replaceable class="parameter">table_name</replaceable> [ *
<!--
A name to use for a returned column.
-->
返される列で使用される名前です
戻される列で使用される名前です
</para>
</listitem>
</varlistentry>
Expand All @@ -322,7 +321,7 @@ DELETE FROM [ ONLY ] <replaceable class="parameter">table_name</replaceable> [ *
On successful completion, a <command>DELETE</command> command returns a command
tag of the form
-->
正常に終了した場合、<command>DELETE</command>コマンドは以下の形式のコマンドタグを返します
正常に終了した場合、<command>DELETE</command>コマンドは以下の形式のコマンドタグを戻します
<screen>
DELETE <replaceable class="parameter">count</replaceable>
</screen>
Expand Down Expand Up @@ -423,7 +422,7 @@ DELETE FROM films;
<!--
Delete completed tasks, returning full details of the deleted rows:
-->
完了した作業(statusがDONE)を削除し、削除された行のすべての詳細を返します
完了した作業(statusがDONE)を削除し、削除された行のすべての詳細を戻します
<programlisting>
DELETE FROM tasks WHERE status = 'DONE' RETURNING *;
</programlisting>
Expand Down