登录注册

18250178511

laravel递增或者递减

作者:admin      时间:2019-11-04 10:59:23

//递增
User::where(['id'=>1])->increment('stock');
//指定增量
User::where(['id'=>1])->increment('stock',2);
//递减
User::where(['id'=>1])->decrement('stock');
//指定减量
User::where(['id'=>1])->decrement('stock',3);

发表评论

评论列表

匿名

<a href=https://molnupiravir.site/>purchase Molnupiravir</a>

2022-08-06 10:04:44

匿名

<a href=https://molnupiravir.site/>can you buy Molnupiravir over the counter in ireland</a>

2022-08-06 05:40:01

匿名

<a href=https://molnupiravir.site/>do you need a prescription to buy Molnupiravir</a>

2022-08-06 00:53:47

匿名

<a href=https://molnupiravir.site/>where can i buy Molnupiravir tablets</a>

2022-08-05 19:58:56

匿名

<a href=https://molnupiravir.site/>how to order Movfor</a>

2022-08-05 15:32:52