MCPcopy Create free account
hub / github.com/cloudreve/cloudreve / AddViews

Method AddViews

ent/share_update.go:475–478  ·  view source on GitHub ↗

AddViews adds i to the "views" field.

(i int)

Source from the content-addressed store, hash-verified

473
474// AddViews adds i to the "views" field.
475func (suo *ShareUpdateOne) AddViews(i int) *ShareUpdateOne {
476 suo.mutation.AddViews(i)
477 return suo
478}
479
480// SetDownloads sets the "downloads" field.
481func (suo *ShareUpdateOne) SetDownloads(i int) *ShareUpdateOne {

Callers

nothing calls this directly

Calls 1

AddViewsMethod · 0.45

Tested by

no test coverage detected