PHP » GoLang |
login |
register |
about
|
GoLang MongoDBRef::create
request it (334)
GoLang replacement for PHP's MongoDBRef::create
[edit | history]
MongoDBRef::create(PECL mongo >= 0.9.0) MongoDBRef::create — Creates a new database reference
DescriptionIf no database is given, the current database is used. Parameters
Return ValuesReturns the reference. ExamplesExample #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).
<?php See Also
|
more
Recently updated
more
Most requested
more
Last requests
|