system/Database/BaseBuilder.php
protected function _replace(string $table, array $keys, array $values): string
	{
		return 'REPLACE INTO ' . $table . ' (' . implode(', ', $keys) . ') VALUES (' . implode(', ', $values) . ')';
	}
protected function _replace(string $table, array $keys, array $values): string
	{
		return 'REPLACE INTO ' . $table . ' (' . implode(', ', $keys) . ') VALUES (' . implode(', ', $values) . ')';
	}
Replace statement

Generates a platform-specific replace string from the supplied data

@param string $table  The table name
@param array  $keys   The insert keys
@param array  $values The insert values

@return string