From 2c4cb8e00e28d2c3d1a3d7fc3f43f332378894c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B0=B7=E6=BA=AA?= Date: Mon, 1 Jun 2020 22:29:29 +0800 Subject: [PATCH] Update README.md --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 21a0f68..ae073f6 100644 --- a/README.md +++ b/README.md @@ -6,11 +6,11 @@ composer require reasno/fastmongo ``` -MongoDB extension is ***NOT*** required. Hyperf and Swoole is required. +MongoDB extension is ***NOT*** required. ## Configuration -Just set environmental variable MONGODB_URI. (Defaults to `mongodb://127.0.0.1:27017`) +Just set the environmental variable MONGODB_URI. (Defaults to `mongodb://127.0.0.1:27017`) ## API List @@ -40,7 +40,7 @@ class IndexController $col->deleteOne(['gender' => 'male']); $col->deleteMany(['age' => 15]); $col->drop(); - // if there is a command you cannot find, use runCommand or runCommandCursor. + // if there is a command not yet supported, use runCommand or runCommandCursor. $client->my_database->runCommand(['ping' => 1]); return $client->my_database->runCommandCursor(['listCollections' => 1]); }