DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PHP
laravel eloquent delete
User
::
where
(
'id'
,
$id
)
->
delete
(
)
;
//or
$user
=
User
::
find
(
1
)
;
$user
->
delete
(
)
;
PREVIOUS
NEXT
Tagged:
#laravel
#eloquent
#delete
ADD COMMENT
Topic
COMMENT
Name
5+8 =
Submit