How to add a relationship if the field value is 1 using hasmany() doctrine, php -
how add relationship if field value 1 using hasmany() doctrine, php example
i having user table , user_locations multiple locations.
i need record of non deleted locations user location table using user obj.
by default relation should added records if locations not deleted user_locations
note: location deleted field is_deleted=1
Comments
Post a Comment