Documentation ¶
Index ¶
- type Child
- type ChildColumnExpr
- type ChildDBSet
- type ChildOrderExpr
- type ChildQueryBuilder
- 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
- type DBContext
- type Parent
- type ParentColumnExpr
- type ParentDBSet
- type ParentOrderExpr
- type ParentQueryBuilder
- 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
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChildColumnExpr ¶
type ChildDBSet ¶
type ChildDBSet struct { ChildID _Child_ChildID ParentID _Child_ParentID GroupID _Child_GroupID IncludeParent goen.IncludeLoader // contains filtered or unexported fields }
func (*ChildDBSet) Delete ¶
func (dbset *ChildDBSet) Delete(v *Child)
func (*ChildDBSet) Insert ¶
func (dbset *ChildDBSet) Insert(v *Child)
func (*ChildDBSet) QuotedString ¶
func (dbset *ChildDBSet) QuotedString() string
QuotedString gets quoted table name
func (*ChildDBSet) Select ¶
func (dbset *ChildDBSet) Select() ChildQueryBuilder
func (*ChildDBSet) Update ¶
func (dbset *ChildDBSet) Update(v *Child)
type ChildOrderExpr ¶
type ChildOrderExpr interface {
ChildOrderExpr() string
}
type ChildQueryBuilder ¶
type ChildQueryBuilder struct {
// contains filtered or unexported fields
}
func (ChildQueryBuilder) Count ¶
func (qb ChildQueryBuilder) Count() (int64, error)
func (ChildQueryBuilder) CountContext ¶
func (qb ChildQueryBuilder) CountContext(ctx context.Context) (int64, error)
func (ChildQueryBuilder) Include ¶
func (qb ChildQueryBuilder) Include(loaders ...goen.IncludeLoader) ChildQueryBuilder
func (ChildQueryBuilder) Limit ¶
func (qb ChildQueryBuilder) Limit(limit uint64) ChildQueryBuilder
func (ChildQueryBuilder) Offset ¶
func (qb ChildQueryBuilder) Offset(offset uint64) ChildQueryBuilder
func (ChildQueryBuilder) OrderBy ¶
func (qb ChildQueryBuilder) OrderBy(orderBys ...ChildOrderExpr) ChildQueryBuilder
func (ChildQueryBuilder) Query ¶
func (qb ChildQueryBuilder) Query() ([]*Child, error)
func (ChildQueryBuilder) QueryContext ¶
func (qb ChildQueryBuilder) QueryContext(ctx context.Context) ([]*Child, error)
func (ChildQueryBuilder) QueryRow ¶
func (qb ChildQueryBuilder) QueryRow() (*Child, error)
func (ChildQueryBuilder) QueryRowContext ¶
func (qb ChildQueryBuilder) QueryRowContext(ctx context.Context) (*Child, error)
func (ChildQueryBuilder) ToSqlizer ¶
func (qb ChildQueryBuilder) ToSqlizer(columns ...string) ChildSqlizer
ToSqlizer returns Sqlizer that built by ChildQueryBuilder with given columns. The columns defaults to all columns of Child, if columns is zero-length.
func (ChildQueryBuilder) Where ¶
func (qb ChildQueryBuilder) Where(conds ...ChildSqlizer) ChildQueryBuilder
func (ChildQueryBuilder) WhereRaw ¶
func (qb ChildQueryBuilder) WhereRaw(conds ...squirrel.Sqlizer) ChildQueryBuilder
type ChildSqlizer ¶
type DBContext ¶
type DBContext struct { *goen.DBContext Child *ChildDBSet Parent *ParentDBSet }
type ParentColumnExpr ¶
type ParentDBSet ¶
type ParentDBSet struct { ParentID _Parent_ParentID GroupID _Parent_GroupID IncludeChildren goen.IncludeLoader // contains filtered or unexported fields }
func (*ParentDBSet) Delete ¶
func (dbset *ParentDBSet) Delete(v *Parent)
func (*ParentDBSet) Insert ¶
func (dbset *ParentDBSet) Insert(v *Parent)
func (*ParentDBSet) QuotedString ¶
func (dbset *ParentDBSet) QuotedString() string
QuotedString gets quoted table name
func (*ParentDBSet) Select ¶
func (dbset *ParentDBSet) Select() ParentQueryBuilder
func (*ParentDBSet) Update ¶
func (dbset *ParentDBSet) Update(v *Parent)
type ParentOrderExpr ¶
type ParentOrderExpr interface {
ParentOrderExpr() string
}
type ParentQueryBuilder ¶
type ParentQueryBuilder struct {
// contains filtered or unexported fields
}
func (ParentQueryBuilder) Count ¶
func (qb ParentQueryBuilder) Count() (int64, error)
func (ParentQueryBuilder) CountContext ¶
func (qb ParentQueryBuilder) CountContext(ctx context.Context) (int64, error)
func (ParentQueryBuilder) Include ¶
func (qb ParentQueryBuilder) Include(loaders ...goen.IncludeLoader) ParentQueryBuilder
func (ParentQueryBuilder) Limit ¶
func (qb ParentQueryBuilder) Limit(limit uint64) ParentQueryBuilder
func (ParentQueryBuilder) Offset ¶
func (qb ParentQueryBuilder) Offset(offset uint64) ParentQueryBuilder
func (ParentQueryBuilder) OrderBy ¶
func (qb ParentQueryBuilder) OrderBy(orderBys ...ParentOrderExpr) ParentQueryBuilder
func (ParentQueryBuilder) Query ¶
func (qb ParentQueryBuilder) Query() ([]*Parent, error)
func (ParentQueryBuilder) QueryContext ¶
func (qb ParentQueryBuilder) QueryContext(ctx context.Context) ([]*Parent, error)
func (ParentQueryBuilder) QueryRow ¶
func (qb ParentQueryBuilder) QueryRow() (*Parent, error)
func (ParentQueryBuilder) QueryRowContext ¶
func (qb ParentQueryBuilder) QueryRowContext(ctx context.Context) (*Parent, error)
func (ParentQueryBuilder) ToSqlizer ¶
func (qb ParentQueryBuilder) ToSqlizer(columns ...string) ParentSqlizer
ToSqlizer returns Sqlizer that built by ParentQueryBuilder with given columns. The columns defaults to all columns of Parent, if columns is zero-length.
func (ParentQueryBuilder) Where ¶
func (qb ParentQueryBuilder) Where(conds ...ParentSqlizer) ParentQueryBuilder
func (ParentQueryBuilder) WhereRaw ¶
func (qb ParentQueryBuilder) WhereRaw(conds ...squirrel.Sqlizer) ParentQueryBuilder
Click to show internal directories.
Click to hide internal directories.