Skip to content

0.9

Compare
Choose a tag to compare
@abellion abellion released this 17 Dec 18:17
· 186 commits to master since this release
  • The Xenus\Collection class now ineriths from the MongoDB\Collection class.
  • The Xenus\Collection\CRUDMethods has been removed and its methods have moved into the Xenus\Collection class.
  • The Xenus\Collection::findOne(), Xenus\Collection::updateOne(), Xenus\Collection::deleteOne() and Xenus\Collection::replaceOne() methods can take a MongoDB\BSON\ObjectID as a filter argument.
  • The Xenus\Document type hint has been removed from the Xenus\Collection::insert(), Xenus\Collection::update() and Xenus\Collection::delete() methods.