Skip to content

Commit 564f5f8

Browse files
Update README.md
1 parent 338ff4d commit 564f5f8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

+2
Original file line numberDiff line numberDiff line change
@@ -92,12 +92,14 @@ All listed methods have same usage as Eloquent
9292
| **with** | $repo->with('relation')->get();
9393
| **count** | $repo->where('column', 'value')->count();
9494
| **find** | $repo->find($id);
95+
| | $repo->find($id, ['column1', 'column2']);
9596
| **first** | $repo->first();
9697
| | $repo->first(['column1', 'column2']);
9798
| **value** | $repo->where('id', $id)->value('name');
9899
| **orderBy** | $repo->orderBy('column')->get(); // default 'asc'
99100
| | $repo->orderBy('column', 'desc')->get();
100101
| **get** | $repo->get();
102+
| | $repo->get(['column1', 'column2']);
101103
| **paginate** | $repo->paginate(20);
102104
| **create** | $repo->create(['column1' => 'value', 'column2' => 'value']);
103105
| **update** | $repo->update($id, ['column1' => 'value', 'column2' => 'value']);

0 commit comments

Comments
 (0)