doctrine2 - how to use DATE_ADD function
You have a typo, you have to quotes 'day'
->andWhere("p.created_at <= DATE_ADD(CURRENT_DATE(),4, 'day')")
An example here.
You have a typo, you have to quotes 'day'
->andWhere("p.created_at <= DATE_ADD(CURRENT_DATE(),4, 'day')")
An example here.