delete: debug print
This commit is contained in:
@@ -120,9 +120,6 @@ func SortByOrder[T any](fieldsSortingOrder []SortField, entity T) ([]*T, error)
|
||||
}
|
||||
|
||||
result := db.Preload(clause.Associations).Find(&items)
|
||||
for _, item := range items {
|
||||
fmt.Printf("%#v\n", *item)
|
||||
}
|
||||
|
||||
if result.Error != nil {
|
||||
return items, result.Error
|
||||
|
||||
Reference in New Issue
Block a user