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
Implement a dataclass `Index` to store model field names
and constraints to create indexes. Instead of directly
creating indexes from model method for specific DB engine
(at the moment, MongoDB), implement a method to get indexes
from models independent of DB engine i.e. list of
`DatabaseModel.Index` class instances. Create MongoDB specific
indexes in the database method `Database.create_indexes`.
Signed-off-by: Jeny Sadadia <[email protected]>
0 commit comments