Move to latest bobgen, add fieldseeker schema references

This is an intermediate step between shifting from the old fs_* prefixed
table names to an entire fieldseeker schema. At this point we have both,
and we aren't doing much with the new schema but compiling.
This commit is contained in:
Eli Ribble 2025-12-02 00:28:14 +00:00
parent 683c5134df
commit 7c4fb02908
No known key found for this signature in database
452 changed files with 119980 additions and 879 deletions

View file

@ -1,4 +1,4 @@
// Code generated by BobGen psql v0.41.1. DO NOT EDIT.
// Code generated by BobGen psql v0.42.0. DO NOT EDIT.
// This file is meant to be re-generated in place and/or deleted at any time.
package models
@ -144,7 +144,7 @@ func (s *FieldseekerSyncSetter) Apply(q *dialect.InsertQuery) {
return FieldseekerSyncs.BeforeInsertHooks.RunHooks(ctx, exec, s)
})
q.AppendValues(bob.ExpressionFunc(func(ctx context.Context, w io.Writer, d bob.Dialect, start int) ([]any, error) {
q.AppendValues(bob.ExpressionFunc(func(ctx context.Context, w io.StringWriter, d bob.Dialect, start int) ([]any, error) {
vals := make([]bob.Expression, 6)
if s.ID.IsValue() {
vals[0] = psql.Arg(s.ID.MustGet())
@ -284,7 +284,7 @@ func (o *FieldseekerSync) primaryKeyVals() bob.Expression {
}
func (o *FieldseekerSync) pkEQ() dialect.Expression {
return psql.Quote("fieldseeker_sync", "id").EQ(bob.ExpressionFunc(func(ctx context.Context, w io.Writer, d bob.Dialect, start int) ([]any, error) {
return psql.Quote("fieldseeker_sync", "id").EQ(bob.ExpressionFunc(func(ctx context.Context, w io.StringWriter, d bob.Dialect, start int) ([]any, error) {
return o.primaryKeyVals().WriteSQL(ctx, w, d, start)
}))
}
@ -345,7 +345,7 @@ func (o FieldseekerSyncSlice) pkIN() dialect.Expression {
return psql.Raw("NULL")
}
return psql.Quote("fieldseeker_sync", "id").In(bob.ExpressionFunc(func(ctx context.Context, w io.Writer, d bob.Dialect, start int) ([]any, error) {
return psql.Quote("fieldseeker_sync", "id").In(bob.ExpressionFunc(func(ctx context.Context, w io.StringWriter, d bob.Dialect, start int) ([]any, error) {
pkPairs := make([]bob.Expression, len(o))
for i, row := range o {
pkPairs[i] = row.primaryKeyVals()