-
Notifications
You must be signed in to change notification settings - Fork 0
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
♻️ upsert の実装を変更 #169
♻️ upsert の実装を変更 #169
Conversation
Walkthroughデータベースのアップサートプロセスが改善され、複数のテーブルにわたるデータの挿入や更新の制御フローが変更されました。これにより、 Changes
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChat with CodeRabbit Bot (
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Review Status
Actionable comments generated: 0
Configuration used: CodeRabbit UI
Files selected for processing (4)
- core/database/src/commonMain/sqldelight/club/nito/core/database/Participants.sq (1 hunks)
- core/database/src/commonMain/sqldelight/club/nito/core/database/Places.sq (1 hunks)
- core/database/src/commonMain/sqldelight/club/nito/core/database/Profiles.sq (1 hunks)
- core/database/src/commonMain/sqldelight/club/nito/core/database/Schedules.sq (1 hunks)
Additional comments: 4
core/database/src/commonMain/sqldelight/club/nito/core/database/Profiles.sq (1)
- 25-38:
upsert
クエリがINSERT OR REPLACE
を使用するように変更されました。この変更がアプリケーションの意図した挙動と一致していることを確認してください。core/database/src/commonMain/sqldelight/club/nito/core/database/Places.sq (1)
- 30-45:
places
テーブルのupsert
クエリがINSERT OR REPLACE
を使用するように変更されました。この変更がアプリケーションの意図した挙動と一致していることを確認してください。core/database/src/commonMain/sqldelight/club/nito/core/database/Participants.sq (1)
- 36-45:
participants
テーブルのupsert
クエリがINSERT OR REPLACE
を使用するように変更されました。この変更がアプリケーションの意図した挙動と一致していることを確認してください。core/database/src/commonMain/sqldelight/club/nito/core/database/Schedules.sq (1)
- 52-67:
schedules
テーブルのupsert
クエリがINSERT OR REPLACE
を使用するように変更されました。この変更がアプリケーションの意図した挙動と一致していることを確認してください。
Issue
概要
upsert の実装を Grouping Statements から SQLite の REPLACE Statement に変更します.
レビュー観点
特になし
レビューレベル
レビュー優先度
参考リンク
スクリーンショット
Summary by CodeRabbit