Whoopi Goldberg is convinced her daughter, Alex Martin, is a better mother than she was.

A spy at Alex’s birthday party at the Bowery Ballroom, dubbed a “40 and Fly” party, said “The View” host toasted her daughter by “giving a heartfelt speech, and Goldberg told the crowd, ‘Alex is a better mother to her three kids than I ever was.’ ”

Goldberg — who gave birth to Alex at 17 — is developing a reality show about Alex’s family life through her (charmingly titled) One Ho Productions that also follows Alex’s best friends.

When a guest at the party, rapper Consequence, posed for a photo with Goldberg for perhaps too long, the comic quipped, “You’ve now held me longer than my last husband.”