VersionPress\Database\VpidRepository::saveId PHP Method

saveId() private method

private saveId ( $entityName, $id, $vpId )
    private function saveId($entityName, $id, $vpId)
    {
        $tableName = $this->schemaInfo->getTableName($entityName);
        $query = "INSERT INTO {$this->database->vp_id} (`vp_id`, `table`, `id`)\n                  VALUES (UNHEX('{$vpId}'), \"{$tableName}\", {$id})";
        $this->database->query($query);
    }