Created
April 21, 2019 14:25
-
-
Save KimSoungRyoul/93cefaec62176a49cf2984eb7e040a59 to your computer and use it in GitHub Desktop.
ORM에서 쿼리 전략을 변경하는 것이 가능할까?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT *, | |
(select "descriptions" | |
from orm_practice_app_order | |
where "orm_practice_app_orderedproduct"."related_order_id" = "orm_practice_app_order"."id" | |
AND "descriptions" = '주문의 상세내용입니다...1') as descriptions | |
FROM "orm_practice_app_orderedproduct" | |
WHERE "orm_practice_app_orderedproduct"."id" = 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment