Creates a new collection
public __construct ( MongoDB $db, string $name ) | ||
$db | MongoDB | Parent database. |
$name | string | Name for this collection. |
public __construct ( MongoDB $db, string $name ) | ||
$db | MongoDB | Parent database. |
$name | string | Name for this collection. |