We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f3a2d38 commit bbdd9bdCopy full SHA for bbdd9bd
1 file changed
user_guide_src/source/models/model.rst
@@ -670,7 +670,10 @@ need it::
670
671
$builder = $userModel->builder();
672
673
-This builder is already set up with the model's $table.
+This builder is already set up with the model's $table. If you need access to another table
674
+you can pass it in as a parameter, but be aware that this will not return a shared instance::
675
+
676
+ $groupBuilder = $userModel->builder('groups');
677
678
You can also use Query Builder methods and the Model's CRUD methods in the same chained call, allowing for
679
very elegant use::
0 commit comments