<li id="oyjrt"><acronym id="oyjrt"></acronym></li>
  • <rp id="oyjrt"></rp>

    <em id="oyjrt"><acronym id="oyjrt"></acronym></em>

      葵花寶典教程,一個自學編程平臺

      葵花寶典教程,一個自學編程平臺

      Laravel DB::table update record

      I have this query

       DB::table('product_options')
              ->where('product_id', $id)
              ->where('size', $selected_size)
              ->update(array('stock' => WHAT TO PUT HERE));

      In the update part where I've put WHAT TO UPDATE, what should I put here to decrease the number by 1?

      DB::table('product_options')
              ->where('product_id', $id)
              ->where('size', $selected_size)
              ->decrement('stock');


      第2條葵花寶典
      == ==

      Copyright www.texaschild-custody.com Rights Reserved葵花寶典教程.鄂icp2022001145號-1

      分享:

      支付寶

      微信

      亚洲日韩一级无码A片
      <li id="oyjrt"><acronym id="oyjrt"></acronym></li>
    1. <rp id="oyjrt"></rp>

      <em id="oyjrt"><acronym id="oyjrt"></acronym></em>