1
0
forked from ALHP/ALHP.GO

updated dep. and regen ent

This commit is contained in:
2021-10-24 05:49:21 +02:00
parent 3a9652b1fc
commit 6b73f7b9b4
12 changed files with 139 additions and 108 deletions

View File

@@ -122,8 +122,8 @@ func (m DbPackageMutation) Tx() (*Tx, error) {
return tx, nil
}
// ID returns the ID value in the mutation. Note that the ID
// is only available if it was provided to the builder.
// ID returns the ID value in the mutation. Note that the ID is only available
// if it was provided to the builder or after it was returned from the database.
func (m *DbPackageMutation) ID() (id int, exists bool) {
if m.id == nil {
return
@@ -708,6 +708,11 @@ func (m *DbPackageMutation) ResetHash() {
delete(m.clearedFields, dbpackage.FieldHash)
}
// Where appends a list predicates to the DbPackageMutation builder.
func (m *DbPackageMutation) Where(ps ...predicate.DbPackage) {
m.predicates = append(m.predicates, ps...)
}
// Op returns the operation name.
func (m *DbPackageMutation) Op() Op {
return m.op