src/Extension/FluentVersionedExtension.php
protected function findRecordInLocale($locale, $table, $id)
    {
        $query = SQLSelect::create('"ID"');
        $query->addFrom('"'. $table . '"');
        $query->addWhere([
            '"RecordID"' => $id,
            '"Locale"' => $locale,
        ]);

        return $query->firstRow()->execute()->value() !== null;
    }
protected function findRecordInLocale($locale, $table, $id)
    {
        $query = SQLSelect::create('"ID"');
        $query->addFrom('"'. $table . '"');
        $query->addWhere([
            '"RecordID"' => $id,
            '"Locale"' => $locale,
        ]);

        return $query->firstRow()->execute()->value() !== null;
    }
protected function findRecordInLocale ( $ locale , $ table , $ id ) { $ query = SQLSelect :: create ( '"ID"' ) ; $ query -> addFrom ( '"' . $ table . '"' ) ; $ query -> addWhere ( [ '"RecordID"' => $ id , '"Locale"' => $ locale , ] ) ; return $ query -> firstRow ( ) -> execute ( ) -> value ( ) !== null ; }
Checks whether the given record ID exists in the given locale, in the given table. Skips using the ORM because
we don't need it for this call.

@param string $locale
@param string $table
@param int $id
@return bool
Checks whether the given record ID exists in the given locale in the given table . Skips using the ORM because we don t need it for this call .