Versions in this module Expand all Collapse all v0 v0.0.10 Jan 31, 2020 Changes in this version + type Child struct + ChildID uuid.UUID + GroupID uuid.UUID + Parent *Parent + ParentID uuid.UUID + type ChildColumnExpr interface + ChildColumnExpr func() string + String func() string + type ChildDBSet struct + ChildID _Child_ChildID + GroupID _Child_GroupID + IncludeParent goen.IncludeLoader + ParentID _Child_ParentID + func (dbset *ChildDBSet) Delete(v *Child) + func (dbset *ChildDBSet) Insert(v *Child) + func (dbset *ChildDBSet) QuotedString() string + func (dbset *ChildDBSet) Select() ChildQueryBuilder + func (dbset *ChildDBSet) String() string + func (dbset *ChildDBSet) Update(v *Child) + type ChildOrderExpr interface + ChildOrderExpr func() string + type ChildQueryBuilder struct + func (qb ChildQueryBuilder) Count() (int64, error) + func (qb ChildQueryBuilder) CountContext(ctx context.Context) (int64, error) + func (qb ChildQueryBuilder) Include(loaders ...goen.IncludeLoader) ChildQueryBuilder + func (qb ChildQueryBuilder) Limit(limit uint64) ChildQueryBuilder + func (qb ChildQueryBuilder) Offset(offset uint64) ChildQueryBuilder + func (qb ChildQueryBuilder) OrderBy(orderBys ...ChildOrderExpr) ChildQueryBuilder + func (qb ChildQueryBuilder) Query() ([]*Child, error) + func (qb ChildQueryBuilder) QueryContext(ctx context.Context) ([]*Child, error) + func (qb ChildQueryBuilder) QueryRow() (*Child, error) + func (qb ChildQueryBuilder) QueryRowContext(ctx context.Context) (*Child, error) + func (qb ChildQueryBuilder) ToSqlizer(columns ...string) ChildSqlizer + func (qb ChildQueryBuilder) Where(conds ...ChildSqlizer) ChildQueryBuilder + func (qb ChildQueryBuilder) WhereRaw(conds ...squirrel.Sqlizer) ChildQueryBuilder + type ChildSqlizer interface + ChildToSql func() (string, []interface{}, error) + type DBContext struct + Child *ChildDBSet + Parent *ParentDBSet + func NewDBContext(dialectName string, db *sql.DB) *DBContext + func (dbc *DBContext) UseTx(tx *sql.Tx) *DBContext + type Parent struct + Children []*Child + GroupID uuid.UUID + ParentID uuid.UUID + type ParentColumnExpr interface + ParentColumnExpr func() string + String func() string + type ParentDBSet struct + GroupID _Parent_GroupID + IncludeChildren goen.IncludeLoader + ParentID _Parent_ParentID + func (dbset *ParentDBSet) Delete(v *Parent) + func (dbset *ParentDBSet) Insert(v *Parent) + func (dbset *ParentDBSet) QuotedString() string + func (dbset *ParentDBSet) Select() ParentQueryBuilder + func (dbset *ParentDBSet) String() string + func (dbset *ParentDBSet) Update(v *Parent) + type ParentOrderExpr interface + ParentOrderExpr func() string + type ParentQueryBuilder struct + func (qb ParentQueryBuilder) Count() (int64, error) + func (qb ParentQueryBuilder) CountContext(ctx context.Context) (int64, error) + func (qb ParentQueryBuilder) Include(loaders ...goen.IncludeLoader) ParentQueryBuilder + func (qb ParentQueryBuilder) Limit(limit uint64) ParentQueryBuilder + func (qb ParentQueryBuilder) Offset(offset uint64) ParentQueryBuilder + func (qb ParentQueryBuilder) OrderBy(orderBys ...ParentOrderExpr) ParentQueryBuilder + func (qb ParentQueryBuilder) Query() ([]*Parent, error) + func (qb ParentQueryBuilder) QueryContext(ctx context.Context) ([]*Parent, error) + func (qb ParentQueryBuilder) QueryRow() (*Parent, error) + func (qb ParentQueryBuilder) QueryRowContext(ctx context.Context) (*Parent, error) + func (qb ParentQueryBuilder) ToSqlizer(columns ...string) ParentSqlizer + func (qb ParentQueryBuilder) Where(conds ...ParentSqlizer) ParentQueryBuilder + func (qb ParentQueryBuilder) WhereRaw(conds ...squirrel.Sqlizer) ParentQueryBuilder + type ParentSqlizer interface + ParentToSql func() (string, []interface{}, error)