php8.5
Home/ Manual/ driver / server/ MongoDB\Driver\Server::getTags

MongoDB\Driver\Server::getTags

PHP function Edit on GitHub ✎

(mongodb >=1.0.0)

Returns an array of tags describing this server in a replica set

Description

MongoDB\Driver\Server::getTags(): array

Returns an array of tags used to describe this server in a replica set. The array will contain zero or more string key and value pairs.

Parameters Parameters

Return Values

Returns an array of tags used to describe this server in a replica set.

Errors/Exceptions

See Also

Source: reference/mongodb/mongodb/driver/server/gettags.xml · from the official PHP manual (php/doc-en)