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: debugger.md
+104-1
Original file line number
Diff line number
Diff line change
@@ -2,4 +2,107 @@
2
2
3
3
To enable debugging mode, just set ```APP_DEBUG=true``` and the package will include the queries and inputs used when processing the table.
4
4
5
-
> IMPORTANT: Please make sure that APP_DEBUG is set to false when your app is on production.
5
+
> IMPORTANT: Please make sure that APP_DEBUG is set to false when your app is on production.
6
+
7
+
## Example Response
8
+
```json
9
+
{
10
+
"draw": 1,
11
+
"recordsTotal": 10,
12
+
"recordsFiltered": 3,
13
+
"data": [{
14
+
"id": 414,
15
+
"name": "Abel Cole",
16
+
"email": "jklein@block.com",
17
+
"created_at": "2016-07-31 23:26:10",
18
+
"updated_at": "2016-07-31 23:26:10",
19
+
"deleted_at": null,
20
+
"superior_id": 0
21
+
}, {
22
+
"id": 267,
23
+
"name": "Addie Satterfield",
24
+
"email": "cassin.eva@pouros.info",
25
+
"created_at": "2016-07-31 23:26:00",
26
+
"updated_at": "2016-07-31 23:26:00",
27
+
"deleted_at": null,
28
+
"superior_id": 0
29
+
}, {
30
+
"id": 120,
31
+
"name": "Adeline Mayert",
32
+
"email": "rice.elian@abshire.com",
33
+
"created_at": "2016-07-31 23:25:50",
34
+
"updated_at": "2016-07-31 23:25:50",
35
+
"deleted_at": null,
36
+
"superior_id": 0
37
+
}],
38
+
"queries": [{
39
+
"query": "select count(*) as aggregate from (select '1' as `row_count` from `users` where `users`.`deleted_at` is null and `users`.`deleted_at` is null) count_row_table",
40
+
"bindings": [],
41
+
"time": 1.84
42
+
}, {
43
+
"query": "select * from `users` where `users`.`deleted_at` is null order by `name` asc limit 10 offset 0",
0 commit comments