Skip to main content
All docs
V23.2

MongoDBQueryCollection Methods

Stores a collection of queries to a MongoDB instance.
Name Description
Add(MongoDBQuery) Adds a specified query to the MongoDB query collection.
AddRange(MongoDBQuery[]) Adds queries to the collection.
AddRange(IEnumerable<MongoDBQuery>) Adds specified queries to the collection.
CheckQueryName(MongoDBQuery) Checks whether a query can be added to the MongoDB query collection.
Clear() Removes all items from the MongoDB query collection.
Contains(MongoDBQuery) Checks whether the MongoDB query collection contains a specified query.
ContainsName(String) Checks whether the MongoDB query collection contains a query with a specified name.
CopyTo(MongoDBQuery[], Int32) Copies all queries from the MongoDB query collection to a specified array.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
GenerateUniqueName(MongoDBQuery) Generates the unique name for a query within the MongoDB query collection.
GetEnumerator() Creates an enumerator for the MongoDB query collection.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
IndexOf(MongoDBQuery) Returns the index of a specified query in the MongoDB query collection.
Insert(Int32, MongoDBQuery) Inserts a specified query to the MongoDB query collection.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
Remove(MongoDBQuery) Removes a specified query from the MongoDB query collection.
RemoveAt(Int32) Removes a query at the specified index from the MongoDB query collection.
ToString() Returns a string that represents the current object. Inherited from Object.
See Also