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
Add the following class above `Illuminate\Database\DatabaseServiceProvider::class`,
@@ -38,9 +26,16 @@ Add the following class above `Illuminate\Database\DatabaseServiceProvider::clas
38
26
...
39
27
]
40
28
```
41
-
### Run unit tests
42
29
43
-
Run unit tests using below command
44
-
```shell
45
-
./vendor/bin/phpunit tests
46
-
```
30
+
## Options
31
+
32
+
With Laravel SqlCommenter, we have configuration to choose which tags to be appended to the comment. It is configurable in `config/google_sqlcommenter.php`
33
+
34
+
| Field | Included <br /> by default? | Description |
|`action`| <divstyle="text-align: center">✔</div> | The [application namespace](https://laravel.com/docs/9.x/controllers) of the matching URL pattern in your routes/api.php |
37
+
|`controller`| <divstyle="text-align: center">✔</div> | The [name](https://laravel.com/docs/9.x/controllers) of the matching URL pattern as described in your routes/api.php |
38
+
|`db_driver`| <divstyle="text-align: center">✔</div> | The name of the php [database engine](https://laravel.com/docs/9.x/database)|
39
+
|`framework`| <divstyle="text-align: center">✔</div> | The word "laravel" and the version of laravel being used |
40
+
|`route`| <divstyle="text-align: center">✔</div> | The [route](https://laravel.com/docs/9.x/routing) of the matching URL pattern as described in your routes/api.php |
41
+
|`traceparent`| <divstyle="text-align: center">✔</div> | The [W3C TraceContext.Traceparent field](https://www.w3.org/TR/trace-context/#traceparent-field) of the OpenTelemetry trace |
0 commit comments