$db             = app('firebase.firestore')->database();

    

    $firebaseDoc    =   $db->collection(config('constants.firebase_collection_timesles'))->document($timesale->id);


    $message = "";

    if(!empty($timesale->product) && !empty($timesale->product->column_1_191)) {

        $message = $timesale->product->column_1_191;

    }


    $update = $firebaseDoc->set([


       

    ],['merge'=>true]);



Share this

Related Posts

Previous
Next Post »