The MongoDB\Driver\Query class

(mongodb >=1.0.0)

Introduction

The MongoDB\Driver\Query class is a value object that represents a database query.

Class synopsis

finalclassMongoDB\Driver\Query {
finalpublic__construct(array|object$filter, ?array$queryOptions = null)
}

Table of Contents

To Top