ORM Engine Context
Used to access ORM in foreground scripts like API. It is one instance per every request
Register the service into your main.go
file as context service:
registry.ServiceProviderOrmEngineForContext()
1
Access the service:
service.DI().ORMEngineForContext()
1