Skip to content

findOneAndX functions always returns stdClass #136

@lindelius

Description

@lindelius

When using findOneAndReplace(), findOneAndDelete(), and findOneAndUpdate() a stdClass object is returned even though the typeMap option has been set to return arrays for both root and document.

The findOne() function returns the correct type, though.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions