MCPcopy Create free account
hub / github.com/aiprodcoder/MIXAPI / DeleteAbilities

Method DeleteAbilities

model/ability.go:217–219  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

215}
216
217func (channel *Channel) DeleteAbilities() error {
218 return DB.Where("channel_id = ?", channel.Id).Delete(&Ability{}).Error
219}
220
221// UpdateAbilities updates abilities of this channel.
222// Make sure the channel is completed before calling this function.

Callers 1

DeleteMethod · 0.95

Calls 1

DeleteMethod · 0.45

Tested by

no test coverage detected