Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrorMissingWhereClause = errors.New("WHERE conditions required")
)
Functions ¶
Types ¶
type Orm ¶ added in v1.0.0
type Orm struct {
// contains filtered or unexported fields
}
func (*Orm) Connection ¶ added in v1.0.0
func (r *Orm) Connection(name string) ormcontract.Orm
func (*Orm) Query ¶ added in v1.0.0
func (r *Orm) Query() ormcontract.DB
func (*Orm) Transaction ¶ added in v1.0.0
func (r *Orm) Transaction(txFunc func(tx ormcontract.Transaction) error) error
func (*Orm) WithContext ¶ added in v1.0.0
func (r *Orm) WithContext(ctx context.Context) ormcontract.Orm
type ServiceProvider ¶
type ServiceProvider struct { }
func (*ServiceProvider) Boot ¶
func (database *ServiceProvider) Boot()
func (*ServiceProvider) Register ¶
func (database *ServiceProvider) Register()
Click to show internal directories.
Click to hide internal directories.