DEV Community

高橋圭太
高橋圭太

Posted on

Summary of the Laravel find method that I use casually

What ID is specified as an argument to the find method?

  • Specifies the primary key of the table

What SQL is executed by the find method?

  • SELECT * FROM table WHERE id = ?

Top comments (0)