Question:Which function is used to retrieve a single record from a table by primary key in laravel? 

A App\MyModel::find_by_id() 

B App\MyModel::findId() 

C App\MyModel::find() 

D App\MyModel::get() 

+ Answer
+ Report
Total Preview: 848

Copyright © 2024. Powered by Intellect Software Ltd