Skip to content

deleteIndex error when input is an array #100

@bitinn

Description

@bitinn

$collection->dropIndex(array('count.pin' => -1, '_id' => 1));

this index in particular results in:

[ErrorException]                                                             
MongoCollection::deleteIndex(): The key needs to be either a string or an array

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions