Skip to content

Commit

Permalink
Merge pull request #768 from yocomado/translate_orm_crud
Browse files Browse the repository at this point in the history
ORM > CRUDの一部翻訳
  • Loading branch information
NEKOGET authored Mar 30, 2017
2 parents 8309ca3 + 57b9dff commit 6e0dca2
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions packages/orm/crud.html
Original file line number Diff line number Diff line change
Expand Up @@ -166,8 +166,8 @@ <h3 id="find_chaining">メソッドチェーンを使用して見つける</h3>
<p>これらのメソッドは等しく有効です。その他の 4 メソッドも Query オブジェクトを使いますが、
オブジェクトを返しません。</p>

<h3 id="partial_selects">Converting to an array</h3>
<p>You can convert a single query result to an array using the to_array() method
<h3 id="partial_selects">配列に変換する</h3>
<p><kbd>to_array()</kbd> メソッドを使うことで、単一のクエリ結果を配列に変換できます。
</p>

<pre class="php"><code>
Expand All @@ -182,9 +182,9 @@ <h3 id="partial_selects">Converting to an array</h3>
</code></pre>


<h3 id="partial_selects">Partial column selects</h3>
<p>By default all ORM find methods will select all table columns. You can use the <kbd>select</kbd> array
entry or the <kbd>select()</kbd> method to alter this behavior.
<h3 id="partial_selects">カラムを指定して部分的に取得</h3>
<p>デフォルトではすべての ORM find メソッドはテーブルのすべてのカラムを取得します。 <kbd>select</kbd> 配列
エントリを使うか、 <kbd>select()</kbd> メソッドを使うことでこの挙動を変更することができます。
</p>

<pre class="php"><code>// 配列を使う方法。 'name' と 'date' のカラムのみを取得します
Expand Down

0 comments on commit 6e0dca2

Please sign in to comment.