Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

laravel mongodb delete

$ppl = Employee::where('name', 'TrevorNoah')->first();
$ppl->drop('field1');
// or
$john->drop(['field1', 'field2']); // works with more
Source by appdividend.com #
 
PREVIOUS NEXT
Tagged: #laravel #mongodb #delete
ADD COMMENT
Topic
Name
2+7 =