dotConnect for MongoDB Documentation
Devart.Data.MongoDB Namespace / MongoDBCommand Class / GetRecordCountSql Method

On this page
    GetRecordCountSql Method (MongoDBCommand)
    On this page
    Returns the command that counts the records of the specified command. In the native mode it builds a count command from a find command and throws MongoDBException for other commands.
    Syntax
    'Declaration
     
    Protected Overrides Function GetRecordCountSql( _
       ByVal commandText As String _
    ) As String
    protected override string GetRecordCountSql( 
       string commandText
    )

    Parameters

    commandText
    See Also