Просмотр исходного кода

Add a list of known issues to the README

Andreas Braun 10 лет назад
Родитель
Сommit
0a7e52ba11
1 измененных файлов с 40 добавлено и 3 удалено
  1. 40 3
      README.md

+ 40 - 3
README.md

@@ -23,6 +23,43 @@ root:
     $ composer require "alcaeus/mongo-php-adapter=dev-master"
 
 # Known issues
- - The [Mongo](https://secure.php.net/manual/en/class.mongo.php) class is
- deprecated and was not implemented in this library. If you are still using it
- please update your code to use the new classes.
+
+## [Mongo](https://secure.php.net/manual/en/class.mongo.php)
+
+ - The Mongo class is deprecated and was not implemented in this library. If you
+ are still using it please update your code to use the new classes.
+
+## MongoClient
+
+ - The [MongoClient::connect](https://php.net/manual/de/mongoclient.connect.php)
+ and [MongoClient::close](https://secure.php.net/manual/de/mongoclient.close.php)
+ methods are not implemented because the underlying driver connects lazily and
+ does not offer methods for connecting disconnecting.
+ - The [MongoClient::getConnections](https://secure.php.net/manual/de/mongoclient.getconnections.php)
+ method is not implemented because the underlying driver does not offer a method
+ to retrieve this data.
+ - The [MongoClient::killCursor](https://php.net/manual/de/mongoclient.killcursor.php)
+ method is not yet implemented.
+
+## MongoDB
+ - The `includeSystemCollections` parameter used in the [MongoDB::getCollectionInfo](https://php.net/manual/de/mongodb.getcollectioninfo.php]),
+ [MongoDB::getCollectionNames](https://php.net/manual/de/mongodb.getcollectionnames.php]),
+ and [MongoDB::listCollections](https://php.net/manual/de/mongodb.listcollections.php)
+ methods is ignored. These methods do not return information about system
+ collections.
+ - The [MongoDB::repair](https://secure.php.net/manual/de/mongodb.repair.php)
+ method is not yet implemented.
+ - The [MongoDB::authenticate](https://secure.php.net/manual/de/mongodb.authenticate.php)
+ method is not yet implemented.
+
+## MongoCollection
+
+ - The [MongoCollection::createIndex](https://secure.php.net/manual/de/mongocollection.createindex.php)
+ method does not yet return the same result as the original method. Instead, it
+ always returns the name of the index created.
+
+## Types
+
+ - Return values containing objects of the [MongoDB\BSON\Javascript](https://secure.php.net/manual/de/class.mongodb-bson-javascript.php)
+ class cannot be converted to full [MongoCode](https://secure.php.net/manual/de/class.mongocode.php)
+ objects because there are no accessors for the code and scope properties.