SELECTl0_.idASid_0,l0_.ulidASulid_1,l0_.typeAStype_2,l0_.localeASlocale_3,l0_.titleAStitle_4,l0_.versionASversion_5,l0_.version_changelogASversion_changelog_6,l0_.contentAScontent_7,l0_.content_sha256AScontent_sha256_8,l0_.date_effectiveASdate_effective_9,l0_.date_createdASdate_created_10,l0_.date_modifiedASdate_modified_11,l0_.previous_version_idASprevious_version_id_12FROMlegal_documentl0_WHERE (l0_.type=?ANDl0_.locale=?ANDl0_.date_effective<=?) AND (l0_.locale='hu') ORDER BYl0_.date_createdDESCLIMIT1
SELECTl0_.idASid_0,l0_.ulidASulid_1,l0_.typeAStype_2,l0_.localeASlocale_3,l0_.titleAStitle_4,l0_.versionASversion_5,l0_.version_changelogASversion_changelog_6,l0_.contentAScontent_7,l0_.content_sha256AScontent_sha256_8,l0_.date_effectiveASdate_effective_9,l0_.date_createdASdate_created_10,l0_.date_modifiedASdate_modified_11,l0_.previous_version_idASprevious_version_id_12FROMlegal_documentl0_WHERE
(
l0_.type=?ANDl0_.locale=?ANDl0_.date_effective<=?
)
AND (l0_.locale='hu')
ORDER BYl0_.date_createdDESCLIMIT1
SELECTl0_.idASid_0,l0_.ulidASulid_1,l0_.typeAStype_2,l0_.localeASlocale_3,l0_.titleAStitle_4,l0_.versionASversion_5,l0_.version_changelogASversion_changelog_6,l0_.contentAScontent_7,l0_.content_sha256AScontent_sha256_8,l0_.date_effectiveASdate_effective_9,l0_.date_createdASdate_created_10,l0_.date_modifiedASdate_modified_11,l0_.previous_version_idASprevious_version_id_12FROMlegal_documentl0_WHERE (l0_.type='terms'ANDl0_.locale='hu'ANDl0_.date_effective<='2026-06-06 00:22:17') AND (l0_.locale='hu') ORDER BYl0_.date_createdDESCLIMIT1;