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
Query::select().column((InterceptEntries::Table,InterceptEntries::Id)).column((InterceptEntries::Table,InterceptEntries::RequestId)).from(InterceptEntries::Table)// Wayyyy more code
We want to use sea-orm for all the most simple use cases, but doing so would imply having to change all the InterceptEntries::Table to intercept_entries::Entity and InterceptEntries::Id to intercept_entries::Column::Id.
That is a lot of code for us.
A smoother transition would be to just change the import:
use entities::intercept_entries::ColumnasInterceptEntries;
But it would require the Column enum to have a Table field.
Maybe this could be a flag only for people that need it?
The text was updated successfully, but these errors were encountered:
This might seem weird, but it comes from a legit need to no change hundreds of lines of sea-query code.
Currently we have a lot of enums like:
That we use like:
We want to use sea-orm for all the most simple use cases, but doing so would imply having to change all the
InterceptEntries::Table
tointercept_entries::Entity
andInterceptEntries::Id
tointercept_entries::Column::Id
.That is a lot of code for us.
A smoother transition would be to just change the import:
But it would require the
Column
enum to have aTable
field.Maybe this could be a flag only for people that need it?
The text was updated successfully, but these errors were encountered: