Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
ユーザーテーブルにユーザーの残高を保存したい。残高は他のテーブル行から計算されます。
他のテーブルのトリガーが最善の方法ですか?
または php のようなスクリプト言語でそれを行いますか?
正確でパフォーマンスが重要です。
ありがとう
そうすれば、データが取得された時点で最新であることが常にわかるからです。