forked from ALHP/ALHP.GO
updated dep. and regen ent
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user