Please wait while we load your page...

PasswordSentry

Latest Version [8.00202205221] Last Updated [May-22-2022]

Tools

PHP Manual [MongoCollection

Protect Your Website Today


PHP Manual || MongoCollection

(PECL mongo >=0.9.0)

MongoCollection::__constructCreates a new collection

Description

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

Parameters

MongoDB db

Parent database.

name

Name for this collection.

Return Values

Returns a new collection object.

Errors/Exceptions

Throws default exception if the collection name is invalid.



PHP Manual || MongoCollection