aiteamutils 0.2.124__py3-none-any.whl → 0.2.126__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
aiteamutils/database.py
CHANGED
@@ -448,7 +448,6 @@ async def list_entities(
|
|
448
448
|
List[Dict[str, Any]]: 쿼리 결과 리스트.
|
449
449
|
"""
|
450
450
|
try:
|
451
|
-
# 조인된 엔티티도 함께 선택
|
452
451
|
query = select(model, *[join_target for join_target in (explicit_joins or [])])
|
453
452
|
|
454
453
|
# 명시적 조인 적용
|
@@ -456,7 +455,7 @@ async def list_entities(
|
|
456
455
|
for join_target in explicit_joins:
|
457
456
|
query = query.outerjoin(join_target) # LEFT OUTER JOIN 적용
|
458
457
|
|
459
|
-
# 조인 로딩 적용
|
458
|
+
# 조인 로딩 적용 (제거 가능)
|
460
459
|
if loading_joins:
|
461
460
|
for join_option in loading_joins:
|
462
461
|
query = query.options(join_option)
|
@@ -504,12 +503,15 @@ async def get_entity(
|
|
504
503
|
loading_joins: Optional[List[Any]] = None
|
505
504
|
) -> ModelType:
|
506
505
|
try:
|
507
|
-
|
506
|
+
# project 정보도 함께 select
|
507
|
+
query = select(model, *[join_target for join_target in (explicit_joins or [])])
|
508
508
|
|
509
|
+
# 명시적 조인 적용
|
509
510
|
if explicit_joins:
|
510
511
|
for join_target in explicit_joins:
|
511
|
-
query = query.
|
512
|
+
query = query.outerjoin(join_target) # LEFT OUTER JOIN 적용
|
512
513
|
|
514
|
+
# 조인 로딩 적용 (제거 가능)
|
513
515
|
if loading_joins:
|
514
516
|
for join_option in loading_joins:
|
515
517
|
query = query.options(join_option)
|
aiteamutils/version.py
CHANGED
@@ -1,2 +1,2 @@
|
|
1
1
|
"""버전 정보"""
|
2
|
-
__version__ = "0.2.
|
2
|
+
__version__ = "0.2.126"
|
@@ -4,12 +4,12 @@ aiteamutils/base_repository.py,sha256=vzBw3g3jCJetTDblZvZenEGXk89Qu_65_02C7QTcf8
|
|
4
4
|
aiteamutils/base_service.py,sha256=nHikjwGp29QrQPr2W8Ye9sKxmVS_8prRG3Nu42TU1Ms,10670
|
5
5
|
aiteamutils/cache.py,sha256=07xBGlgAwOTAdY5mnMOQJ5EBxVwe8glVD7DkGEkxCtw,1373
|
6
6
|
aiteamutils/config.py,sha256=YdalpJb70-txhGJAS4aaKglEZAFVWgfzw5BXSWpkUz4,3232
|
7
|
-
aiteamutils/database.py,sha256=
|
7
|
+
aiteamutils/database.py,sha256=b1s609GlQYiAUobdXZ94qHPvOZ69jny-IQUDq0PWuC8,20213
|
8
8
|
aiteamutils/enums.py,sha256=7WLqlcJqQWtETAga2WAxNp3dJTQIAd2TW-4WzkoHHa8,2498
|
9
9
|
aiteamutils/exceptions.py,sha256=pgf3ersezObyl17wAO3I2fb8m9t2OzWDX1mSjwAWm2Y,16035
|
10
10
|
aiteamutils/security.py,sha256=McUl3t5Z5SyUDVUHymHdDkYyF4YSeg4g9fFMML4W6Kw,11630
|
11
11
|
aiteamutils/validators.py,sha256=msOrha36xWsapm4VAh63YmFq1GVyC9tzZcjXYFCEZ_g,11949
|
12
|
-
aiteamutils/version.py,sha256=
|
13
|
-
aiteamutils-0.2.
|
14
|
-
aiteamutils-0.2.
|
15
|
-
aiteamutils-0.2.
|
12
|
+
aiteamutils/version.py,sha256=29o_ASH6fLqV6c7jVtZ4_4vlsxJS2BL0E8FQfqSnKb4,43
|
13
|
+
aiteamutils-0.2.126.dist-info/METADATA,sha256=8Jae6b3EhuJAENU1-0YoBXGKc5BGENkaE7hIHLlNNpU,1719
|
14
|
+
aiteamutils-0.2.126.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
15
|
+
aiteamutils-0.2.126.dist-info/RECORD,,
|
File without changes
|