The MongoDB\Driver\ReadPreference class


(mongodb >=0.2.0)

Обзор классов

final MongoDB\Driver\ReadPreference {
/* Constants */
const integer RP_PRIMARY = 1 ;
const integer RP_PRIMARY_PREFERRED = 5 ;
const integer RP_SECONDARY = 2 ;
const integer RP_SECONDARY_PREFERRED = 6 ;
const integer RP_NEAREST = 10 ;
/* Методы */
final public __construct ( string $readPreference [, array $tagSets ] )
}

Предопределенные константы

MongoDB\Driver\ReadPreference::RP_PRIMARY

MongoDB\Driver\ReadPreference::RP_PRIMARY_PREFERRED

MongoDB\Driver\ReadPreference::RP_SECONDARY

MongoDB\Driver\ReadPreference::RP_SECONDARY_PREFERRED

MongoDB\Driver\ReadPreference::RP_NEAREST

Содержание