Mongo
PHP Manual

Vordefinierte Konstanten

Folgende Konstanten werden von dieser Erweiterung definiert und stehen nur zur Verfügung, wenn die Erweiterung entweder statisch in PHP kompiliert oder dynamisch zur Laufzeit geladen wurde.

Mongo::DEFAULT_HOST (string)
"localhost"
Mongo::DEFAULT_PORT (int)
27017
MongoDB::PROFILING_OFF (int)
Turn off database profiling
MongoDB::PROFILING_SLOW (int)
Turn on database profiling for slow operations
MongoDB::PROFILING_ON (int)
Turn on database profiling for all operations
MongoUtil::LT (string)
Less than
MongoUtil::LTE (string)
Less than or equal to
MongoUtil::GT (string)
Greater than
MongoUtil::GTE (string)
Greater than or equal to
MongoUtil::IN (string)
In
MongoUtil::NE (string)
Not equal
MongoUtil::ASC (int)
Ascending
MongoUtil::DESC (int)
Descending
MongoUtil::BIN_ARRAY (int)
Default binary type: an array of bytes
MongoUtil::BIN_UUID (int)
Universal unique id
MongoUtil::BIN_MD5 (int)
MD5 type
MongoUtil::BIN_CUSTOM (int)
User-defined binary type

Mongo
PHP Manual