Skip to content

Commit

Permalink
known issues
Browse files Browse the repository at this point in the history
  • Loading branch information
sokil committed Jan 11, 2017
1 parent aa346f6 commit 4d84c99
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,7 @@ PHPMongo currently based on old [ext-mongo](https://pecl.php.net/package/mongo)
To use this ODM with PHP 7 or HHVM, you need to add [compatibility layer](https://github.com/alcaeus/mongo-php-adapter),
which implement API of old extension over new [ext-mongodb](https://pecl.php.net/package/mongodb).
To start using PHPMongo with PHP7, add requirement [alcaeus/mongo-php-adapter](https://github.com/alcaeus/mongo-php-adapter) to composer.
There are some restrictions of using ODM with compatibility layer:

* Explaining cursor not implemented;
* Parameter $db of DBRef skipped, so this DBRef allows to find document, if $id and $ref matched some document. See [issue](https://github.com/alcaeus/mongo-php-adapter/issues/147)
* Collection::getIndexInfo() did not return 'sparse', 'textIndexVersion' and 'expireAfterSeconds' parameters if passed. See [issue](https://github.com/alcaeus/mongo-php-adapter/issues/148);

Restrictions for using ODM with compatibility layer you can read in [known issues](https://github.com/alcaeus/mongo-php-adapter#known-issues) of original adapter.
<br/>
<br/>

Expand Down

0 comments on commit 4d84c99

Please sign in to comment.