(ctx context.Context)
| 1103 | func (_u *DBPackageUpdateOne) SetSTime(v int64) *DBPackageUpdateOne { |
| 1104 | _u.mutation.ResetSTime() |
| 1105 | _u.mutation.SetSTime(v) |
| 1106 | return _u |
| 1107 | } |
| 1108 | |
| 1109 | // SetNillableSTime sets the "s_time" field if the given value is not nil. |
| 1110 | func (_u *DBPackageUpdateOne) SetNillableSTime(v *int64) *DBPackageUpdateOne { |
| 1111 | if v != nil { |
| 1112 | _u.SetSTime(*v) |
| 1113 | } |
| 1114 | return _u |
| 1115 | } |
| 1116 | |
| 1117 | // AddSTime adds value to the "s_time" field. |
| 1118 | func (_u *DBPackageUpdateOne) AddSTime(v int64) *DBPackageUpdateOne { |
| 1119 | _u.mutation.AddSTime(v) |
| 1120 | return _u |
| 1121 | } |
| 1122 | |
| 1123 | // ClearSTime clears the value of the "s_time" field. |
| 1124 | func (_u *DBPackageUpdateOne) ClearSTime() *DBPackageUpdateOne { |
| 1125 | _u.mutation.ClearSTime() |
| 1126 | return _u |
| 1127 | } |
| 1128 | |
| 1129 | // SetIoIn sets the "io_in" field. |
| 1130 | func (_u *DBPackageUpdateOne) SetIoIn(v int64) *DBPackageUpdateOne { |
| 1131 | _u.mutation.ResetIoIn() |
| 1132 | _u.mutation.SetIoIn(v) |
| 1133 | return _u |
| 1134 | } |
| 1135 | |
| 1136 | // SetNillableIoIn sets the "io_in" field if the given value is not nil. |
| 1137 | func (_u *DBPackageUpdateOne) SetNillableIoIn(v *int64) *DBPackageUpdateOne { |
| 1138 | if v != nil { |
| 1139 | _u.SetIoIn(*v) |
| 1140 | } |
| 1141 | return _u |
| 1142 | } |
| 1143 | |
| 1144 | // AddIoIn adds value to the "io_in" field. |
| 1145 | func (_u *DBPackageUpdateOne) AddIoIn(v int64) *DBPackageUpdateOne { |
| 1146 | _u.mutation.AddIoIn(v) |
| 1147 | return _u |
| 1148 | } |
| 1149 | |
| 1150 | // ClearIoIn clears the value of the "io_in" field. |
| 1151 | func (_u *DBPackageUpdateOne) ClearIoIn() *DBPackageUpdateOne { |
| 1152 | _u.mutation.ClearIoIn() |
| 1153 | return _u |
| 1154 | } |
| 1155 | |
| 1156 | // SetIoOut sets the "io_out" field. |
| 1157 | func (_u *DBPackageUpdateOne) SetIoOut(v int64) *DBPackageUpdateOne { |
| 1158 | _u.mutation.ResetIoOut() |
| 1159 | _u.mutation.SetIoOut(v) |
| 1160 | return _u |
| 1161 | } |
| 1162 |
nothing calls this directly
no test coverage detected