Skip to main content
All docs
V22.2

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

Declaration

public void Insert(
    int index,
    MongoDBQuery item
)

Parameters

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