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
Thank you again for this great effort!
I am trying to migrate from v3 to v4 but I am having quite some problems. As I could not find a migration guide I am asking here.
How are Indexes handled now? In the changelog it only states,
Indexes have been simplified
Which does not really help me understand how I can migrate my old code.
For example, index types seem to not be supported anymore. This leads me to the question of how I would migrate code like this @Index(type: IndexType.value).
Also, case sensitivity seems to not be provided anymore like in @Index(type: IndexType.value, caseSensitive: false).
It would also help me immensely if you could explain to me how to migrate where clauses. Because this statement
Where clauses have been removed in favor of automatic index handling
tells me there are none but I used them a lot to fine-tune the performance of my application. This is crucial as I am searching a text database with more than 300.000 entries.
Maybe we could put a migration guide together?
The text was updated successfully, but these errors were encountered:
I checked and thankfully I only use @Index() without typing. But there are no where clauses? I cannot comprehend that. How do you supposed to where then?
Thank you again for this great effort!
I am trying to migrate from v3 to v4 but I am having quite some problems. As I could not find a migration guide I am asking here.
How are Indexes handled now? In the changelog it only states,
Which does not really help me understand how I can migrate my old code.
For example, index types seem to not be supported anymore. This leads me to the question of how I would migrate code like this
@Index(type: IndexType.value)
.Also, case sensitivity seems to not be provided anymore like in
@Index(type: IndexType.value, caseSensitive: false)
.It would also help me immensely if you could explain to me how to migrate where clauses. Because this statement
tells me there are none but I used them a lot to fine-tune the performance of my application. This is crucial as I am searching a text database with more than 300.000 entries.
Maybe we could put a migration guide together?
The text was updated successfully, but these errors were encountered: