Skip to content

Commit 4a06ebd

Browse files
authored
Update user_guide_src/source/guides/api/code/013.php
1 parent ccb9874 commit 4a06ebd

File tree

1 file changed

+1
-1
lines changed
  • user_guide_src/source/guides/api/code

1 file changed

+1
-1
lines changed

user_guide_src/source/guides/api/code/013.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ class BookModel extends Model
1515
*/
1616
public function withAuthorInfo()
1717
{
18-
return $this
18+
return $this
1919
->select('books.*, authors.name as author_name')
2020
->join('authors', 'books.author_id = authors.id');
2121
}

0 commit comments

Comments
 (0)