MongoDBRef::createCreates a new database reference 
 Beschreibung
   public static array MongoDBRef::create
    ( string  
  $collection
   , mixed $id
   [, string $database
  ] )If no database is given, the current database is used. Parameter-Liste
 
 RückgabewerteReturns the reference. BeispieleBeispiel #1 MongoDBRef::create example This creates a database reference to a document in the addresses collection. The MongoCollection::getName function returns the name of the collection (not including the database name). 
<?phpSiehe auch
 
  |