Heath Bell knows what he would do with Paul Goldschmidt.

“I’d walk him,” Bell said.

The Dodgers should consider it.

Goldschmidt’s two home runs were all the offense Wade Miley and two relievers needed in the Diamondbacks’ 3-2 victory on Wednesday, when they completed a three-game sweep at Dodger Stadium.

If the Dodgers had trouble going to sleep Wednesday, they could just count Goldschmidt’s RBIs. His first career two-homer game capped a four-homer series, and he drove in nine of the D-backs’ 17 runs in the sweep to take over the National League RBI lead with 30. He has 12 RBIs in his last seven games, and his homers decided the last two games. He had a two-run homer in the ninth inning in the 5-3 victory Tuesday, and he finished the series 7 for 13 with three RBIS in each game.

The D-backs’ offense, presented by Paul Goldschmidt.

“You make a mistake, he’ll make you pay,” manager Kirk Gibson said.

Goldschmidt’s two-home run off a Clayton Kershaw fastball tied the game at 2 in the sixth inning Wednesday, and his bases-empty homer on another fastball from Kenley Jansen with two outs in the eighth won it.

Teammate Daniel Hudson tweeted “GoldschmittedOn” after each homer.

Goldschmidt has nine homers, one short of the NL lead, and he is hitting .320 with a 1.005 OPS.

The black cowboy hat Goldschmidt wore to the park Wednesday? The Dodgers saw the villain there.

“If he was on the East Coast, he’d be (publicized as) one of the best in the game,” Bell said. "I think he is one of the best in the game as it is, but you don’t get a whole lot of limelight over here in Arizona.

“All-around good guy. All-American player.”

The NL West knows what Goldschmidt can do. He is 21 for 54 (.389) with six homers and 15 RBIs in 14 games at Dodger Stadium, and he is hitting .340 with 14 homers and 52 RBIs in 60 division road games since he was promoted on Aug. 1, 2011.

Like most, Goldschmidt has had had some trouble against Kershaw; he was 1 for 16 against him with seven strikeouts before the home run. Goldschmidt said he had seen progress in his more recent at-bats, getting more confident as time has passed. The first time they met this season, Goldschmidt was 0 for 3 with two strikeouts and a double-play grounder, but a run scored on the double play in Patrick Corbin’s 3-0 victory April 12. He reached on an error on a ball back to Kershaw and flew out in his first two at-bats Wednesday.

“I knew I was 1 for something with a bunch of punchouts. You have to go up there ... just like if you have good numbers off someone, it can change in a hurry. It can go the other way. Not trying to get too aggressive,” Goldschmidt said.