You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using an aggregation function e.g. MIN/MAX an a full table a false DAP231 warning is given
Dapper.Advisor: 1.0.10
To Reproduce
// DAP231: SELECT for single row without WHERE or (TOP and ORDER BY)publicstaticasyncTask<int>SelectMax(SqlConnectionconnection)=>awaitconnection.QueryFirstOrDefaultAsync<int>("SELECT MAX(SomeColumn) FROM MyTable");
The text was updated successfully, but these errors were encountered:
* fix#79
* fix#80; add new rule 243 for invalid datepart expressions
* groundwork for aggregate
* fix#81; add new rule DAP244 for mixing aggregate and non-aggregate data
Describe the bug
When using an aggregation function e.g. MIN/MAX an a full table a false
DAP231
warning is givenDapper.Advisor: 1.0.10
To Reproduce
The text was updated successfully, but these errors were encountered: