Skip to content

Commit

Permalink
feat: add query log methods to the DB facade (#36177)
Browse files Browse the repository at this point in the history
  • Loading branch information
DeepDiver1975 authored Feb 8, 2021
1 parent 2ecc0b4 commit 5306a18
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/Illuminate/Support/Facades/DB.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,11 @@
* @method static void listen(\Closure $callback)
* @method static void rollBack(int $toLevel = null)
* @method static void setDefaultConnection(string $name)
* @method static void enableQueryLog()
* @method static void disableQueryLog()
* @method static bool logging()
* @method static array getQueryLog()
* @method static void flushQueryLog()
*
* @see \Illuminate\Database\DatabaseManager
* @see \Illuminate\Database\Connection
Expand Down

0 comments on commit 5306a18

Please sign in to comment.