Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Refactor deletion (#28610) | delvh | 2023-12-25 | 1 | -9/+2 |
| | | | | | | | | | | | | | | | | | | Introduce the new generic deletion methods - `func DeleteByID[T any](ctx context.Context, id int64) (int64, error)` - `func DeleteByIDs[T any](ctx context.Context, ids ...int64) error` - `func Delete[T any](ctx context.Context, opts FindOptions) (int64, error)` So, we no longer need any specific deletion method and can just use the generic ones instead. Replacement of #28450 Closes #28450 --------- Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> | ||||
* | Even more `db.DefaultContext` refactor (#27352) | JakobDev | 2023-10-03 | 1 | -1/+1 |
| | | | | | | | | Part of #27065 --------- Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> Co-authored-by: delvh <dev.lh@web.de> | ||||
* | Another round of `db.DefaultContext` refactor (#27103) | JakobDev | 2023-09-25 | 1 | -6/+6 |
| | | | | | | | Part of #27065 --------- Co-authored-by: KN4CK3R <admin@oldschoolhack.me> | ||||
* | Implement FSFE REUSE for golang files (#21840) | flynnnnnnnnnn | 2022-11-27 | 1 | -2/+1 |
| | | | | | | | | | Change all license headers to comply with REUSE specification. Fix #16132 Co-authored-by: flynnnnnnnnnn <flynnnnnnnnnn@github> Co-authored-by: John Olheiser <john.olheiser@gmail.com> | ||||
* | Add system setting table with cache and also add cache supports for user ↵ | Lunny Xiao | 2022-10-17 | 1 | -0/+117 |
setting (#18058) |