Skip to main content
All docs

MongoDBQueryCollection.Insert(Int32, MongoDBQuery) Method

Inserts a specified query to the MongoDB query collection.

Namespace: DevExpress.DataAccess.MongoDB

Assembly: DevExpress.DataAccess.v22.2.dll

NuGet Package: DevExpress.DataAccess


public void Insert(
    int index,
    MongoDBQuery item


Name Type Description
index Int32

A zero-based index of a collection element after which the new query should be inserted.

item MongoDBQuery

A MongoDB query.

See Also