|
|
|
|
|
by akie
1524 days ago
|
|
Not necessarily. In some ORMs you can have scopes that can be used to append common sub-queries or conditions, such as "WHERE is_deleted=0", and some allow you to specify default scopes that should be appended to every database query (unless explicitly switched off). I'm just saying: It doesn't need to be a considerable rewrite, it really depends on how your ORM or data layer is implemented. |
|