PHP Conference Fukuoka 2025

MongoDB\Driver\Server::isSecondary

(mongodb >=1.0.0)

MongoDB\Driver\Server::isSecondary โ€” Checks if this server is a secondary member of a replica set

่ชฌๆ˜Ž

final public MongoDB\Driver\Server::isSecondary(): bool

Returns whether this server is a ยป secondary member of a replica set.

ใƒ‘ใƒฉใƒกใƒผใ‚ฟ

ใ“ใฎ้–ขๆ•ฐใซใฏใƒ‘ใƒฉใƒกใƒผใ‚ฟใฏใ‚ใ‚Šใพใ›ใ‚“ใ€‚

ๆˆปใ‚Šๅ€ค

Returns true if this server is a secondary member of a replica set, and false otherwise.

ใ‚จใƒฉใƒผ / ไพ‹ๅค–

ๅ‚่€ƒ

๏ผ‹add a note

User Contributed Notes

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