diff options
author | 2021-09-08 20:05:26 +0100 | |
---|---|---|
committer | 2021-09-08 20:05:26 +0100 | |
commit | bdcc090851f37f1e81a53c1e695f897b1252cd22 (patch) | |
tree | 2d0926cdcf3088781842a83fd8ed50593006ccc2 /vendor/github.com/uptrace/bun/model.go | |
parent | rework media processing a little bit (#191) (diff) | |
download | gotosocial-bdcc090851f37f1e81a53c1e695f897b1252cd22.tar.xz |
update bun library -> v1.0.4
Signed-off-by: kim (grufwub) <grufwub@gmail.com>
Diffstat (limited to 'vendor/github.com/uptrace/bun/model.go')
-rw-r--r-- | vendor/github.com/uptrace/bun/model.go | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/vendor/github.com/uptrace/bun/model.go b/vendor/github.com/uptrace/bun/model.go index c9f0f3583..d392608c4 100644 --- a/vendor/github.com/uptrace/bun/model.go +++ b/vendor/github.com/uptrace/bun/model.go @@ -38,16 +38,16 @@ type tableModel interface { Table() *schema.Table Relation() *schema.Relation - Join(string, func(*SelectQuery) *SelectQuery) *join - GetJoin(string) *join - GetJoins() []join - AddJoin(join) *join + Join(string) *relationJoin + GetJoin(string) *relationJoin + GetJoins() []relationJoin + AddJoin(relationJoin) *relationJoin Root() reflect.Value ParentIndex() []int Mount(reflect.Value) - updateSoftDeleteField() error + updateSoftDeleteField(time.Time) error } func newModel(db *DB, dest []interface{}) (model, error) { |