Releases: abellion/xenus
Releases · abellion/xenus
0.12
0.11.1
0.11
Relationships have landed ! Check out the documentation for more informations.
- The
Xenus\Collection
protected propertiesname
anddocument
became constant properties. - The
Xenus\Collection
class is no longerabstract
. You can instantiate it by giving an array of options as a second argument. - All of the
Xenus\Collection
methods returning a MongoDB Cursor now return aXenus\Cursor
having the same methods as the original cursor. - The
Xenus\Document
now provides accessors for an_id
property.
0.10
0.9
- The
Xenus\Collection
class now ineriths from theMongoDB\Collection
class. - The
Xenus\Collection\CRUDMethods
has been removed and its methods have moved into theXenus\Collection
class. - The
Xenus\Collection::findOne()
,Xenus\Collection::updateOne()
,Xenus\Collection::deleteOne()
andXenus\Collection::replaceOne()
methods can take aMongoDB\BSON\ObjectID
as a filter argument. - The
Xenus\Document
type hint has been removed from theXenus\Collection::insert()
,Xenus\Collection::update()
andXenus\Collection::delete()
methods.