Skip to content
This repository has been archived by the owner on Apr 11, 2021. It is now read-only.

科目の最大取得数の制限 #46

Open
yuki-js opened this issue May 10, 2020 · 1 comment
Open

科目の最大取得数の制限 #46

yuki-js opened this issue May 10, 2020 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@yuki-js
Copy link
Member

yuki-js commented May 10, 2020

要望を簡潔に説明してください
科目検索画面の検索結果の最大取得数を制限すべきである。
この機能はどんなときに役に立ちますか
例えば「学」と検索すると、レスポンスに18秒以上かかり、9000件以上のレコードが返却され、描画で処理が止まるなど、各所の負荷を回避するため。
具体的な実装の提案はありますか
LIMIT句を入れる(Typeormでどう実装するかは知らない)

@yuki-js yuki-js added the enhancement New feature or request label May 10, 2020
@SIY1121
Copy link
Member

SIY1121 commented May 10, 2020

limitとoffsetが指定できるようにします 💪

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants