mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2026-01-07 06:23:15 -06:00
fix up some stuffffff
This commit is contained in:
parent
6d3efd3511
commit
e12b81e3f1
34 changed files with 236 additions and 2484 deletions
|
|
@ -66,10 +66,6 @@ type Basic interface {
|
|||
// The given interface i will be set to the result of the query, whatever it is. Use a pointer or a slice.
|
||||
UpdateByPrimaryKey(ctx context.Context, i interface{}) Error
|
||||
|
||||
// UpdateOneByPrimaryKey sets one column of interface, with the given key, to the given value.
|
||||
// It uses the primary key of interface i to decide which row to update. This is usually the `id`.
|
||||
UpdateOneByPrimaryKey(ctx context.Context, key string, value interface{}, i interface{}) Error
|
||||
|
||||
// UpdateWhere updates column key of interface i with the given value, where the given parameters apply.
|
||||
UpdateWhere(ctx context.Context, where []Where, key string, value interface{}, i interface{}) Error
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue