Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

laravel eloquent get one column value

ModelName::find(id)->value('column_name');
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #laravel #eloquent #column
ADD COMMENT
Topic
Name
3+3 =