Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

can i do a relation between 2 coulnm in mongodb laravel

public function empDetails(){
    return $this->hasMany('AppEmpDetails','emp_id','personal_details.emp_id');
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #relation #coulnm #mongodb #laravel
ADD COMMENT
Topic
Name
3+8 =