downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

MongoCollection::count> <MongoCollection::batchInsert
[edit] Last updated: Fri, 25 May 2012

view this page in

MongoCollection::__construct

(PECL mongo >=0.9.0)

MongoCollection::__construct新しいコレクションを作成する

説明

public MongoCollection::__construct ( MongoDB $db , string $name )

パラメータ

MongoDB db

親データベース。

name

コレクション名。

返り値

新しいコレクションオブジェクトを返します。

エラー / 例外

コレクション名が不正な場合に、デフォルトの例外をスローします。



add a note add a note User Contributed Notes MongoCollection::__construct
There are no user contributed notes for this page.

 
show source | credits | sitemap | contact | advertising | mirror sites