dotConnect for MongoDB Documentation
Devart.Data.MongoDB Namespace / MongoDBDataTable Class / AddWhere Method

On this page
    AddWhere Method (MongoDBDataTable)
    On this page
    Adds a WHERE condition to the select command, for example for a detail table of a master-detail relation. Throws System.NotSupportedException in the native mode: the condition is SQL and needs Sql Engine=true.
    Syntax
    'Declaration
     
    Protected Overrides Function AddWhere( _
       ByVal commandText As String, _
       ByVal whereText As String _
    ) As String
    protected override string AddWhere( 
       string commandText,
       string whereText
    )

    Parameters

    commandText
    whereText
    See Also