A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://php.net/manual/en/mongodb-driver-serverapi.construct.php below:

PHP: MongoDB\Driver\ServerApi::__construct - Manual

MongoDB\Driver\ServerApi::__construct

(mongodb >=1.10.0)

MongoDB\Driver\ServerApi::__constructCreate a new ServerApi instance

Description final public MongoDB\Driver\ServerApi::__construct

(

string $version

,

?bool $strict = null

,

?bool $deprecationErrors = null

)

Parameters
version

A server API version.

Supported API versions are provided as constants in MongoDB\Driver\ServerApi. The only supported API version is MongoDB\Driver\ServerApi::V1.

strict

If the strict parameter is set to true, the server will yield an error for any command that is not part of the specified API version. If no value is provided, the server default value (false) is used.

deprecationErrors

If the deprecationErrors parameter is set to true, the server will yield an error when using a command that is deprecated in the specified API version. If no value is provided, the server default value (false) is used.

There are no user contributed notes for this page.

↑ and ↓ to navigate • Enter to select • Esc to close

Press Enter without selection to search using Google


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4