sdk/dotnet/src/Microsoft.Datasync.Client.SQLiteStore/Utils/SqlQueryFormatter.cs
/// <summary>
/// The internal version of the <see cref="FormatCountStatement"/> entry point, used
/// to get a SELECT COUNT statement.
/// </summary>
/// <returns>The SQL statement.</returns>
The internal version of the  entry point, used
to get a SELECT COUNT statement.
The internal version of the entry point used to get a SELECT COUNT statement .
private string FormatSelectCount()
        {
            sql = new StringBuilder();
            Parameters.Clear();
            sql.Append("SELECT COUNT(1) AS [count] FROM [").Append(query.TableName).Append(']');
            if (query.Filter != null)
            {
                FormatWhereClause(query.Filter);
            }
            return sql.ToString().TrimEnd();
        }
private string FormatSelectCount ( ) { sql = new StringBuilder ( ) ; Parameters . Clear ( ) ; sql . Append ( " " ) . Append ( query . TableName ) . Append ( ' ' ) ; if ( query . Filter != null ) { FormatWhereClause ( query . Filter ) ; } return sql . ToString ( ) . TrimEnd ( ) ; }
The internal version of the  entry point, used
to get a SELECT COUNT statement.
The internal version of the entry point used to get a SELECT COUNT statement .
The SQL statement.
The SQL statement .