BLUE
Profile banner
YH
Yoshiya Hinosawa
@kt3k.org
A software engineer 🧑‍💻 at @deno_land 🦕, lives in 🇯🇵, interested in #VSCode / Type Theory / @rustlang 🦀. #iyochist he/him times.kt3k.org
155 followers85 following1.6k posts
YHkt3k.org

N + 1 問題が発生する => 実装者が中身を理解しないで安易な for ループを書いている = 実装者のスキルの問題でしかない気がする N + 1 にならないように実装しようとしているのに、言語やフレームワークの制約で N + 1 になってしまう状況なんて無くないですか? っていうところが疑問

1

YHkt3k.org

フレームワークのおすすめの書き方で書いていくと自然に N + 1 になってしまう、という話だったら、エスケープハッチ開けて where in 句なりなんなりバッチで取ってくるクエリー書けばいいよねっていう話でしかない

1
Profile banner
YH
Yoshiya Hinosawa
@kt3k.org
A software engineer 🧑‍💻 at @deno_land 🦕, lives in 🇯🇵, interested in #VSCode / Type Theory / @rustlang 🦀. #iyochist he/him times.kt3k.org
155 followers85 following1.6k posts