Db::name('table')->where('id',1)->setInc('view',1) // 自增1
Db::name('table')->where('id',1)->setInc('view',5) // 自增5
自减
Db::name('table')->where('id',1)->setDec('view',1) //自减1
Db::name('table')->where('id',1)->setDec('view',5) //自减5

Db::name('table')->where('id',1)->setInc('view',1) // 自增1
Db::name('table')->where('id',1)->setInc('view',5) // 自增5
自减
Db::name('table')->where('id',1)->setDec('view',1) //自减1
Db::name('table')->where('id',1)->setDec('view',5) //自减5