Skip to content

Commit e53ea89

Browse files
committed
fix wording
1 parent 04b6a1d commit e53ea89

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

queries.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ If you would like to perform a "left join" instead of an "inner join", use the `
173173

174174
#### Cross Join Statement
175175

176-
To perform a "cross join" use the `crossJoin` method. The argument passed to the `crossJoin` method is the name of the table you wish to cross join to. Cross joins generate a cartesian product between the first table and the joined table:
176+
To perform a "cross join" use the `crossJoin` method with the name of the table you wish to cross join to. Cross joins generate a cartesian product between the first table and the joined table:
177177

178178
$users = DB::table('sizes')
179179
->crossJoin('colours')

0 commit comments

Comments
 (0)