<ruby id="27277"></ruby>

<meter id="27277"></meter>
      <menuitem id="27277"></menuitem>

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

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

        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');


        第3條葵花寶典
        == ==

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

        分享:

        支付寶

        微信

        97色伦午夜国产亚洲精品

        <ruby id="27277"></ruby>

        <meter id="27277"></meter>
          <menuitem id="27277"></menuitem>