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

search for in the

MongoCollection::batchInsert> <MongoDB::__toString
Last updated: Fri, 14 Aug 2009

view this page in

La classe MongoCollection

Introduction

Représentation d'une collecion de base de données.

Les noms de collections ne peuvent pas contenir de "$", mais ils peuvent contenir n'importe quel caractère ASCII. Il est possible d'utiliser les noms de collections suivants : "", "...", "ma collection" et "*&#@".

Synopsis de la classe

MongoCollection
MongoCollection {
/* Méthodes */
public boolean batchInsert ( array $a )
public __construct ( MongoDB $db , string $name )
public int count ([ array $query= array() [, array $fields= array() ]] )
public array createDBRef ( array $a )
public array deleteIndex ( string|array $keys )
public array deleteIndexes ( void )
public array drop ( void )
public boolean ensureIndex ( string|array $keys )
public MongoCursor find ([ array $query= array() [, array $fields= array() ]] )
public array findOne ([ array $query= array() [, array $fields= array() ]] )
public array getDBRef ( array $ref )
public array getIndexInfo ( void )
public string getName ( void )
public array group ( array $keys , array $initial , string $reduce [, array $condition= array() ] )
public boolean insert ( array $a )
public boolean remove ( array $criteria [, boolean $justOne= FALSE ] )
public boolean save ( array $a )
public string __toString ( void )
public boolean update ( array $criteria , array $newobj [, boolean $upsert= FALSE ] )
public array validate ([ bool $scan_data= FALSE ] )
}

Sommaire



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

MongoCollection::batchInsert> <MongoDB::__toString
Last updated: Fri, 14 Aug 2009
 
 
show source | credits | sitemap | contact | advertising | mirror sites