|
MongoCollection::toIndexStringConverts keys specifying an index to its identifying string Description
static protected string MongoCollection::toIndexString
( mixed
$keys
)Warning
This method is deprecated since version 1.5.0. Parameters
Return ValuesReturns a string that describes the index. ExamplesExample #1 MongoCollection::toIndexString example This example shows how you can create an index name out of keys. Because this is a protected (static) method, you need to overload it in a child class first.
<?php See AlsoMongoDB core docs on » indexes. Changelog
|