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
|
|
@ -17,7 +17,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"
|
||||
"github.com/Gleipnir-Technology/bob/types/pgtypes"
|
||||
|
|
@ -1130,32 +1129,3 @@ func (os FieldseekerStormdrainSlice) LoadOrganization(ctx context.Context, exec
|
|||
|
||||
return nil
|
||||
}
|
||||
|
||||
type fieldseekerStormdrainJoins[Q dialect.Joinable] struct {
|
||||
typ string
|
||||
Organization modAs[Q, organizationColumns]
|
||||
}
|
||||
|
||||
func (j fieldseekerStormdrainJoins[Q]) aliasedAs(alias string) fieldseekerStormdrainJoins[Q] {
|
||||
return buildFieldseekerStormdrainJoins[Q](buildFieldseekerStormdrainColumns(alias), j.typ)
|
||||
}
|
||||
|
||||
func buildFieldseekerStormdrainJoins[Q dialect.Joinable](cols fieldseekerStormdrainColumns, typ string) fieldseekerStormdrainJoins[Q] {
|
||||
return fieldseekerStormdrainJoins[Q]{
|
||||
typ: typ,
|
||||
Organization: modAs[Q, organizationColumns]{
|
||||
c: Organizations.Columns,
|
||||
f: func(to organizationColumns) bob.Mod[Q] {
|
||||
mods := make(mods.QueryMods[Q], 0, 1)
|
||||
|
||||
{
|
||||
mods = append(mods, dialect.Join[Q](typ, Organizations.Name().As(to.Alias())).On(
|
||||
to.ID.EQ(cols.OrganizationID),
|
||||
))
|
||||
}
|
||||
|
||||
return mods
|
||||
},
|
||||
},
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue