Skip to content

Commit

Permalink
classes/mongo/methods.html 翻訳完了
Browse files Browse the repository at this point in the history
  • Loading branch information
sharkpp committed Apr 30, 2014
1 parent dd5ad55 commit f9f60ea
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions classes/mongo/methods.html
Original file line number Diff line number Diff line change
Expand Up @@ -1140,7 +1140,7 @@ <h4 class="method" id="method_like">like($field = '', $value = '', $flags = 'i',
<pre class="php"><code>// インスタンスを取得
$mongodb = \Mongo_Db::instance();

// look for users with a name starting with 'fran'...
// 'fran' で始まる名前を持つユーザーを探して...
$mongodb->like('name', 'fran', 'im', false, true);
$users = $mongodb->get('users');
</code></pre>
Expand Down Expand Up @@ -1975,41 +1975,41 @@ <h4 class="method" id="get_collection">get_collection($collection = "")</h4>
<article>
<h4 class="method" id="list_collections">list_collections($system_collections = false)</h4>
<p>
The <strong>list_collections</strong> method returns an array of MongoCollection objects of all collections present in the database. Optionally you can specify that you want all system collections returned too.</a>
<strong>list_collections</strong> メソッドは、データベース内に存在するすべてのコレクションの MongoCollection オブジェクトの配列を返します。必要に応じてすべてのシステムのコレクションもまた返すように指定できます。</a>
</p>
<table class="method">
<tbody>
<tr>
<th class="legend">Static</th>
<td>No</td>
<th class="legend">静的</th>
<td>いいえ</td>
</tr>
<tr>
<th>Parameters</th>
<th>パラメータ</th>
<td>
<table class="parameters">
<tr>
<th>Param</th>
<th>Type</th>
<th>Default</th>
<th class="description">Description</th>
<th>パラメータ</th>
<th></th>
<th>デフォルト</th>
<th class="description">説明</th>
</tr>
<tr>
<th><kbd>system_collections</kbd></th>
<td><em>bool</em></td>
<td><pre class="php"><code>false</code></pre></td>
<td>Whether or not to include the system collections.</td>
<td>システムのコレクションを含めるかどうか。</td>
</tr>
</table>
</td>
</tr>
<tr>
<th>Returns</th>
<td>An array of MongoCollection objects.</td>
<th>戻り値</th>
<td>MongoCollection オブジェクトの配列。</td>
</tr>
<tr>
<th>Example</th>
<th></th>
<td>
<pre class="php"><code>// Get a mongo instance
<pre class="php"><code>// mongo インスタンスを取得
$mongodb = \Mongo_Db::instance();
$collections = $mongodb->list_collections();
</code></pre>
Expand Down

0 comments on commit f9f60ea

Please sign in to comment.