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
We would like to speed up our case-insensitive queries using collations. We are using HasCollation() in OnModelCreating(). But the problem is that our schema names include dots, which causes ArgumentException:
I looked into this, and the right way to fix this is to redo the annotations as per #2495. I did some work in this direction, but was unfortunately blocked by the lack of value tuple support in EF Core's C# literal code generation (dotnet/efcore#29383).
It may be possible to hack around with another solution, but given that time is very short and it's easy to work around this with SQL in the migration, I'm punting it for 8.0 - but will do this quite soon there.
Hi!
We would like to speed up our case-insensitive queries using collations. We are using
HasCollation()
inOnModelCreating()
. But the problem is that our schema names include dots, which causes ArgumentException:efcore.pg/src/EFCore.PG/Metadata/PostgresCollation.cs
Line 134 in 5aa5336
Is using a different separator in your plans?
Thanks in advance!
The text was updated successfully, but these errors were encountered: