Remove a bunch of generated bob, add feature and review tasks
This commit is contained in:
parent
662188485e
commit
527e82031e
206 changed files with 5761 additions and 141269 deletions
|
|
@ -15,7 +15,6 @@ import (
|
|||
"github.com/Gleipnir-Technology/bob/dialect/psql/sm"
|
||||
"github.com/Gleipnir-Technology/bob/dialect/psql/um"
|
||||
"github.com/Gleipnir-Technology/bob/expr"
|
||||
"github.com/Gleipnir-Technology/bob/mods"
|
||||
"github.com/Gleipnir-Technology/bob/orm"
|
||||
"github.com/Gleipnir-Technology/bob/types/pgtypes"
|
||||
"github.com/aarondl/opt/omit"
|
||||
|
|
@ -614,32 +613,3 @@ func (os PublicreportImageExifSlice) LoadImage(ctx context.Context, exec bob.Exe
|
|||
|
||||
return nil
|
||||
}
|
||||
|
||||
type publicreportImageExifJoins[Q dialect.Joinable] struct {
|
||||
typ string
|
||||
Image modAs[Q, publicreportImageColumns]
|
||||
}
|
||||
|
||||
func (j publicreportImageExifJoins[Q]) aliasedAs(alias string) publicreportImageExifJoins[Q] {
|
||||
return buildPublicreportImageExifJoins[Q](buildPublicreportImageExifColumns(alias), j.typ)
|
||||
}
|
||||
|
||||
func buildPublicreportImageExifJoins[Q dialect.Joinable](cols publicreportImageExifColumns, typ string) publicreportImageExifJoins[Q] {
|
||||
return publicreportImageExifJoins[Q]{
|
||||
typ: typ,
|
||||
Image: modAs[Q, publicreportImageColumns]{
|
||||
c: PublicreportImages.Columns,
|
||||
f: func(to publicreportImageColumns) bob.Mod[Q] {
|
||||
mods := make(mods.QueryMods[Q], 0, 1)
|
||||
|
||||
{
|
||||
mods = append(mods, dialect.Join[Q](typ, PublicreportImages.Name().As(to.Alias())).On(
|
||||
to.ID.EQ(cols.ImageID),
|
||||
))
|
||||
}
|
||||
|
||||
return mods
|
||||
},
|
||||
},
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue