Versions in this module Expand all Collapse all v1 v1.0.0 Jun 22, 2023 Changes in this version + const Binding + type OrmImpl struct + func InitializeOrm(ctx context.Context, config2 config.Config, connection string) (*OrmImpl, error) + func NewOrmImpl(ctx context.Context, config config.Config, connection string, ...) (*OrmImpl, error) + func (r *OrmImpl) Connection(name string) ormcontract.Orm + func (r *OrmImpl) DB() (*sql.DB, error) + func (r *OrmImpl) Observe(model any, observer ormcontract.Observer) + func (r *OrmImpl) Query() ormcontract.Query + func (r *OrmImpl) Transaction(txFunc func(tx ormcontract.Transaction) error) error + func (r *OrmImpl) WithContext(ctx context.Context) ormcontract.Orm + type ServiceProvider struct + func (database *ServiceProvider) Boot(app foundation.Application) + func (database *ServiceProvider) Register(app foundation.Application)