Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/#271 - 변동률 데이터 조회 시 라이브 데이터도 조회 #272

Merged
merged 2 commits into from
Nov 27, 2024

Conversation

xjfcnfw3
Copy link
Collaborator

close #271

✅ 작업 내용

  • 변동률 데이터 조회 시 라이브 데이터도 조회

😎 체크 사항

  • label 설정 확인
  • 브랜치 방향 확인

@xjfcnfw3 xjfcnfw3 added ✨feature 기능 개발 BE labels Nov 27, 2024
Comment on lines +86 to +99
private async saveLiveData(data: StockLiveData[], manager: EntityManager) {
return await manager
.getRepository(StockLiveData)
.createQueryBuilder()
.insert()
.into(StockLiveData)
.values(data)
.orUpdate(
['current_price', 'change_rate', 'volume', 'high', 'low', 'open'],
['stock_id'],
)
.execute();
}

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

typeorm 찬양해

Copy link
Collaborator

@swkim12345 swkim12345 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Copy link
Collaborator

@baegyeong baegyeong left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@baegyeong baegyeong merged commit 5e87a5a into dev-be Nov 27, 2024
@xjfcnfw3 xjfcnfw3 deleted the feature/#271 branch December 3, 2024 18:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
BE ✨feature 기능 개발
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants