protected function untranslatedQuery($locale)
    {
        $table = $this->model->getTable();

        return $this->database->table("$table as $table")
            ->select("$table.id")
            ->leftJoin("$table as e", function (JoinClause $query) use ($table, $locale) {
                $query->on('e.namespace', '=', "$table.namespace")
                    ->on('e.group', '=', "$table.group")
                    ->on('e.item', '=', "$table.item")
                    ->where('e.locale', '=', $locale);
            })
            ->where("$table.locale", $this->defaultLocale)
            ->whereNull("e.id");
    }