VersionPress\Tests\Utils\DBAsserter::fetchAll PHP Method

fetchAll() private static method

private static fetchAll ( $query, $resultType = MYSQLI_ASSOC )
    private static function fetchAll($query, $resultType = MYSQLI_ASSOC)
    {
        $res = self::$database->query($query);
        if (!$res) {
            return [];
        }
        return $res->fetch_all($resultType);
    }