SELECTf0_.idASid_0,f0_.activeASactive_1,f0_.deleted_atASdeleted_at_2,f1_.idASid_3,f1_.activeASactive_4,f1_.deleted_atASdeleted_at_5,f1_.faq_group_idASfaq_group_id_6FROMfaq_groupf0_LEFT JOINfaqf1_ONf0_.id=f1_.faq_group_idWHERE (f0_.active=?ANDf1_.active=?AND (EXISTS (SELECT1FROMfaq_countryf2_WHEREf2_.faq_id=f1_.idANDf2_.country_idIN (?)) OR (SELECTCOUNT(*) FROMfaq_countryf2_WHEREf2_.faq_id=f1_.id) =0)) AND (f0_.deleted_atISNULL) ORDER BYf0_.idDESC
SELECTf0_.idASid_0,f0_.activeASactive_1,f0_.deleted_atASdeleted_at_2,f1_.idASid_3,f1_.activeASactive_4,f1_.deleted_atASdeleted_at_5,f1_.faq_group_idASfaq_group_id_6FROMfaq_groupf0_LEFT JOINfaqf1_ONf0_.id=f1_.faq_group_idWHERE
(
f0_.active=?ANDf1_.active=?AND (
EXISTS (
SELECT1FROMfaq_countryf2_WHEREf2_.faq_id=f1_.idANDf2_.country_idIN (?)
)
OR (
SELECTCOUNT(*)
FROMfaq_countryf2_WHEREf2_.faq_id=f1_.id
) =0
)
)
AND (f0_.deleted_atISNULL)
ORDER BYf0_.idDESC
SELECTf0_.idASid_0,f0_.activeASactive_1,f0_.deleted_atASdeleted_at_2,f1_.idASid_3,f1_.activeASactive_4,f1_.deleted_atASdeleted_at_5,f1_.faq_group_idASfaq_group_id_6FROMfaq_groupf0_LEFT JOINfaqf1_ONf0_.id=f1_.faq_group_idWHERE (f0_.active=1ANDf1_.active=1AND (EXISTS (SELECT1FROMfaq_countryf2_WHEREf2_.faq_id=f1_.idANDf2_.country_idIN (1)) OR (SELECTCOUNT(*) FROMfaq_countryf2_WHEREf2_.faq_id=f1_.id) =0)) AND (f0_.deleted_atISNULL) ORDER BYf0_.idDESC;
SELECTp0_.idASid_0,p0_.codeAScode_1,p0_.activeASactive_2,p0_.created_atAScreated_at_3,p0_.updated_atASupdated_at_4,p0_.nameASname_5,p0_.deleted_atASdeleted_at_6,p0_.materialized_pathASmaterialized_path_7,p0_.template_idAStemplate_id_8FROMpagep0_WHERE (p0_.code=?ANDp0_.active=?) AND (p0_.deleted_atISNULL)
SELECTp0_.idASid_0,p0_.codeAScode_1,p0_.activeASactive_2,p0_.created_atAScreated_at_3,p0_.updated_atASupdated_at_4,p0_.nameASname_5,p0_.deleted_atASdeleted_at_6,p0_.materialized_pathASmaterialized_path_7,p0_.template_idAStemplate_id_8FROMpagep0_WHERE
(
p0_.code=?ANDp0_.active=?
)
AND (p0_.deleted_atISNULL)
SELECTp0_.idASid_0,p0_.codeAScode_1,p0_.activeASactive_2,p0_.created_atAScreated_at_3,p0_.updated_atASupdated_at_4,p0_.nameASname_5,p0_.deleted_atASdeleted_at_6,p0_.materialized_pathASmaterialized_path_7,p0_.template_idAStemplate_id_8FROMpagep0_WHERE (p0_.code='privacy_and_security'ANDp0_.active=1) AND (p0_.deleted_atISNULL);
SELECTc0_.idASid_0,c0_.slugASslug_1,c0_.localesASlocales_2,c0_.activeASactive_3,c0_.codeAScode_4,c0_.deleted_atASdeleted_at_5,c0_.currency_idAScurrency_id_6FROMcountryc0_WHERE (c0_.slug=?) AND (c0_.deleted_atISNULL)
SELECTc0_.idASid_0,c0_.slugASslug_1,c0_.localesASlocales_2,c0_.activeASactive_3,c0_.codeAScode_4,c0_.deleted_atASdeleted_at_5,c0_.currency_idAScurrency_id_6FROMcountryc0_WHERE
(c0_.slug=?)
AND (c0_.deleted_atISNULL)
SELECTc0_.idASid_0,c0_.slugASslug_1,c0_.localesASlocales_2,c0_.activeASactive_3,c0_.codeAScode_4,c0_.deleted_atASdeleted_at_5,c0_.currency_idAScurrency_id_6FROMcountryc0_WHERE (c0_.slug='RU') AND (c0_.deleted_atISNULL);
SELECTc0_.idASid_0,c0_.codeAScode_1,c0_.signASsign_2,c0_.activeASactive_3,c0_.deleted_atASdeleted_at_4FROMcurrencyc0_LEFT JOINcountryc1_ONc0_.id=c1_.currency_idAND (c1_.deleted_atISNULL) WHERE (c1_.id=?) AND (c0_.deleted_atISNULL) LIMIT1
SELECTc0_.idASid_0,c0_.codeAScode_1,c0_.signASsign_2,c0_.activeASactive_3,c0_.deleted_atASdeleted_at_4FROMcurrencyc0_LEFT JOINcountryc1_ONc0_.id=c1_.currency_idAND (c1_.deleted_atISNULL)
WHERE
(c1_.id=?)
AND (c0_.deleted_atISNULL)
LIMIT1
SELECTc0_.idASid_0,c0_.codeAScode_1,c0_.signASsign_2,c0_.activeASactive_3,c0_.deleted_atASdeleted_at_4FROMcurrencyc0_LEFT JOINcountryc1_ONc0_.id=c1_.currency_idAND (c1_.deleted_atISNULL) WHERE (c1_.id=1) AND (c0_.deleted_atISNULL) LIMIT1;
SELECTc0_.idASid_0,c0_.slugASslug_1,c0_.localesASlocales_2,c0_.activeASactive_3,c0_.codeAScode_4,c0_.deleted_atASdeleted_at_5,c0_.currency_idAScurrency_id_6FROMcountryc0_WHERE (c0_.active=?) AND (c0_.deleted_atISNULL)
SELECTc0_.idASid_0,c0_.slugASslug_1,c0_.localesASlocales_2,c0_.activeASactive_3,c0_.codeAScode_4,c0_.deleted_atASdeleted_at_5,c0_.currency_idAScurrency_id_6FROMcountryc0_WHERE
(c0_.active=?)
AND (c0_.deleted_atISNULL)
SELECTc0_.idASid_0,c0_.slugASslug_1,c0_.localesASlocales_2,c0_.activeASactive_3,c0_.codeAScode_4,c0_.deleted_atASdeleted_at_5,c0_.currency_idAScurrency_id_6FROMcountryc0_WHERE (c0_.active=1) AND (c0_.deleted_atISNULL);
The association App\Geo\Entity\Country#paymentMethods refers to the owning side field App\Shop\Payment\Entity\PaymentMethod#country which does not exist.
If association App\Geo\Entity\Country#currency is many-to-one, then the inversed side App\Shop\Price\Entity\Currency#countries has to be one-to-many.