update : 2015.11.03
php.shukuma.com검색:
|
MongoClient::close(PECL mongo >=1.3.0) MongoClient::close — Closes this connection 설명
public bool MongoClient::close
([ boolean|string
$connection
] )The MongoClient::close() method forcefully closes a connection to the database, even if persistent connections are being used. You should never have to do this under normal circumstances.
인수
반환값Returns if the connection was successfully closed. 예제Example #1 MongoClient::close() example This example demonstrates how to selectively close all connections for secondaries only.
<?php 위 예제의 출력: Closing 'whisky:13001;X;4948': ok 변경점
참고
|