<ruby id="dzldf"></ruby>

<span id="dzldf"><th id="dzldf"></th></span>
<em id="dzldf"><form id="dzldf"></form></em>
<address id="dzldf"></address>

<form id="dzldf"><th id="dzldf"><progress id="dzldf"></progress></th></form>

    <form id="dzldf"></form>
    <em id="dzldf"><address id="dzldf"></address></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');


    第1條葵花寶典
    == ==

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

    分享:

    支付寶

    微信

    找妓女网站
    <ruby id="dzldf"></ruby>

    <span id="dzldf"><th id="dzldf"></th></span>
    <em id="dzldf"><form id="dzldf"></form></em>
    <address id="dzldf"></address>

    <form id="dzldf"><th id="dzldf"><progress id="dzldf"></progress></th></form>

      <form id="dzldf"></form>
      <em id="dzldf"><address id="dzldf"></address></em>