Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrorMissingWhereClause = errors.New("WHERE conditions required")
)
Functions ¶
Types ¶
type Orm ¶
type Orm struct {
// contains filtered or unexported fields
}
func (*Orm) Connection ¶
func (r *Orm) Connection(name string) ormcontract.Orm
func (*Orm) Query ¶
func (r *Orm) Query() ormcontract.DB
func (*Orm) Transaction ¶
func (r *Orm) Transaction(txFunc func(tx ormcontract.Transaction) error) error
func (*Orm) WithContext ¶
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.