I want to select from user table name and address columns where name is John. This query return null. I know in database is user which has name John. I would like to know if this query is property ?
 $query = User::where('name', '=', 'John')->select(['name', 'address']);
 
     
     
     
     
    