The MongoDB\Driver\ReadPreference class

(mongodb >=1.0.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

Зміст

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top