interface-update.tpl 397 B

1234
  1. Update(ctx context.Context, {{if .containsIndexCache}}newData{{else}}data{{end}} *{{.upperStartCamelObject}}) error
  2. UpdateWithTx(ctx context.Context, session sqlx.Session, data *{{.upperStartCamelObject}}) error
  3. BatchUpdate(ctx context.Context, dataList []*{{.upperStartCamelObject}}) error
  4. BatchUpdateWithTx(ctx context.Context, session sqlx.Session, dataList []*{{.upperStartCamelObject}}) error