SMALL BALL: Willing to try anything, Ike Davis grounds out to the pitcher while attempting to bunt for a hit in the Mets’ 4-1 win over the Braves last night. Photo: NY Post: Charles Wenzelberg

How bad were things going for Ike Davis?

He tried to bunt his way on in the second inning last night with no runners on and couldn’t even do that correctly — popping his first attempt foul before eventually bunting out to the pitcher.

“I’m going to do it more often. I mean, I get out a lot anyway, so might as well give it a try,” Davis said. “If I get it down in the right spot, it’s a hit.”

Davis was being a bit too hard on himself on this night. That’s because he redeemed himself with a swinging hit in the sixth inning, an RBI double that proved to be the game-winner in the Mets’ 4-1 victory over the Braves at Citi Field.

After failing on that bunt attempt in his first at-bat with the shift on, Davis struck out in his next at-bat in the fourth inning to a symphony of boos at Citi Field.

“The crowd gets on me no matter what,” he said. “If I take a pitch it’s a boo, so it doesn’t really matter. … The boos don’t really affect me.”

In his third at-bat, the boos turned into cheers. With runners on the corners and two strikes, he laced a curveball from Kris Medlen off the wall in right field to drive in Daniel Murphy and give the Mets a 2-1 lead. They added two more insurance runs in the inning as Davis eventually scored on a sacrifice fly by Juan Lagares.

“It probably means even more the fact that he got a pitch that he could handle, even though it was a curveball,” manager Terry Collins said. “Took a good swing at it. These are all confidence-builders, and the more confidence he gets, the more dangerous he becomes.”

It was only the seventh time all year Davis had hits in back-to-back games, and the second time he had RBIs in consecutive games after his single accounted for the only Mets run in a 2-1 loss on Monday.

Davis was batting .150 with five homers and 16 RBIs when he was sent down to Triple-A Las Vegas on June 9, spending almost a month there before being recalled on July 5. Davis is batting .263 (10-for-38) since the promotion.

“I’m just trying to have good at-bats every time, and sometimes it works and sometimes it doesn’t,” he said. “Obviously I’ve made more solid contact the last three games that I’ve started, so that’s definitely a positive and hopefully it continues.

“It definitely felt great to get a hit off a curveball. Definitely to get that winning run across the plate, so I ended up driving the ball. I hadn’t driven the ball in a while.”

He ended the night 1-for-4, grounding into a double play in the eighth inning.

Collins said he likes the discipline Davis has shown lately.

“I thought the things I saw especially tonight was laying off the balls that were down in the zone,” Collins said.