Currently using RepoDb.SqlServer 1.0.13
The code db.QueryAsync<SettingTagDbo>(Enumerable.Empty<QueryField>()) generates the following invalid SQL
SELECT [SettingDefinitionSet], [SettingCollection], [SettingCollectionValue], [ResourceType], [ResourceId], [Path], [SettingType], [TagType], [Value] FROM [SettingTag] WHERE () ;
I would expect QueryAsync with an empty QueryField list to be equivalent to QueryAllAsync
This appears to be a similar yet different error than in #463
Current workaround is similar, call QueryAllAsync or QueryAsync depending on whether QueryField list is empty
Currently using
RepoDb.SqlServer1.0.13The code
db.QueryAsync<SettingTagDbo>(Enumerable.Empty<QueryField>())generates the following invalid SQLSELECT [SettingDefinitionSet], [SettingCollection], [SettingCollectionValue], [ResourceType], [ResourceId], [Path], [SettingType], [TagType], [Value] FROM [SettingTag] WHERE () ;I would expect
QueryAsyncwith an empty QueryField list to be equivalent toQueryAllAsyncThis appears to be a similar yet different error than in #463
Current workaround is similar, call
QueryAllAsyncorQueryAsyncdepending on whether QueryField list is empty