jeudi 29 septembre 2016

What is the query to delete a particular object from Firebase using Laravel 5?

I am new to Firebase. Still I couldn't find a way to delete a particular object from Firebase.

$evnt = EventCal::where('id', '=', $id)->delete();

I have tried out above query to delete. But still it doesn't produce a result in Firebase. I am using 'Mpociot\Firebase\SyncsWithFirebase' to sync data with firebase.



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire