Only works if the 'logging' config option is
set to true. Otherwise, returned array will be empty.
public static get_query_log ( string $connection_name = self::DEFAULT_CONNECTION ) | ||
$connection_name | string | Which connection to use |
public static get_query_log ( string $connection_name = self::DEFAULT_CONNECTION ) | ||
$connection_name | string | Which connection to use |