File tree 1 file changed +7
-4
lines changed
1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -30,18 +30,21 @@ $ php artisan vendor:publish --provider="LaraToolbox\QueryViewer\QueryViewerServ
30
30
31
31
## Usage
32
32
33
- After installing this package you may use these methods on eloquent and db builder.
33
+ After installing this package you can use these methods on eloquent and database builder.
34
34
35
35
- ` getSql `
36
36
* This method returns sql query.
37
37
* Differences between ` toSql ` and this method is this method returns sql with question marks (?) replaced.
38
+ * Returns string.
38
39
39
40
- ` dumpSql `
40
- * This method prints sql query and returns builder.
41
+ * This method prints sql query (uses dump() function)
42
+ * Returns builder.
41
43
42
44
- ` logSql `
43
- * This method logs sql query and returns builder.
44
- * Log type can be set in config file.
45
+ * This method logs sql query.
46
+ * Log type can be set in config file (default is "info").
47
+ * Returns builder.
45
48
46
49
- ` getSqlFunc `
47
50
* This method takes closure and gives sql string as parameter.
You can’t perform that action at this time.
0 commit comments