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
Thanks for this awesome library, I don't know what I would do without it.
I have request regarding documentation and supported parameters. I'm using this with EF and I had a need to create a order by Len query. I didn't see any obvious ways to do that and using:
query.OrderBy($"Len({FieldName}) DESC");
Does not work because no Len method exists in given type. However, using
query.OrderBy($"{FieldName}.Length DESC");
Works perfectly fine and generates correct SQL query. This was pretty much lucky guess as I didn't even know if its supported. Am I missing something obvious in documentation or in my understanding?
Thanks!
The text was updated successfully, but these errors were encountered:
Thanks for this awesome library, I don't know what I would do without it.
I have request regarding documentation and supported parameters. I'm using this with EF and I had a need to create a order by
Len
query. I didn't see any obvious ways to do that and using:query.OrderBy($"Len({FieldName}) DESC");
Does not work because no
Len
method exists in given type. However, usingquery.OrderBy($"{FieldName}.Length DESC");
Works perfectly fine and generates correct SQL query. This was pretty much lucky guess as I didn't even know if its supported. Am I missing something obvious in documentation or in my understanding?
Thanks!
The text was updated successfully, but these errors were encountered: