public static function fetchAllGroups()
    {
        $model = new self;

        $result = [];
        try {
            foreach ($model->select('group')->distinct()->get() as $row) {
                $result[] = $row->group;
            }
        } catch (\Exception $e) {
            // Do nothing.
        }

        return $result;
    }