You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+5-1Lines changed: 5 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -27,10 +27,14 @@ class Invoice extends Model
27
27
28
28
## Usage
29
29
30
-
If you want to summarize the columns of results from a relationship without actually loading them and by one request to the database you may use the `withSum` method, which will place a `relation_column_sum` column on your resulting models. For example:
30
+
If you want to get results from a relationship without actually loading them and by one request to the database you may use the these methods, which will place a new columns on your resulting models. For example:
0 commit comments