feat: executeSet with SELECT statements
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 45/100
調査の方向性
Android の executeSet の実装から始め、SELECT 文の処理を issue に記載されている Web の動作と比較します。Android で SELECT クエリを使用して、提示された db.executeSet 呼び出しを再現し、その後、報告された例外なしでクエリが実行され、結果が返されることを確認します。
索引モデルが issue の本文から書いたものです。
説明
I am working on an Angular Ionic Project that uses "Database Driven Layouts". Some Pages require a lot of single Select Statements to be executed which is very slow on Android. So i tried to execute all Select queries at once using the "executeSet" Method.
This works fine on Web but on Android this Exception is thrown: "ExecuteSet: unknown error (code 0): Queries can be performed using SQLiteDatabase query or rawQuery methods only."
The Android implementation of the executeSet Method does not consider SELECT statements, which is a major problem since improving performance on Android was the reason i did this in the first place.
I realise that i could also just use a single UNION SELECT Query, which is what i will do now. If there is no intention to make ExecuteSet compatible with SELECT statements then feel free to close this issue.
let rs = await this.db.executeSet(statements, false, 'all');
executeSet call with parameters
- 主要言語
- Swift
- スター
- 661
- フォーク
- 158
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
capacitor-community/sqlite のほかの issue
-
難易度 3/5 1〜2日 初心者へのやさしさ 72/100
capacitor-community/sqlite#700 · コメント 1 件 · リアクション 1 件 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
capacitor-community/sqlite#693 · リアクション 7 件 ·
-
bug/fix needs: triage
難易度 3/5 1〜2日 初心者へのやさしさ 68/100
capacitor-community/sqlite#690 ·
-
feature needs: triage
難易度 3/5 1〜2日 初心者へのやさしさ 55/100
capacitor-community/sqlite#689 ·
-
bug/fix needs: triage
難易度 3/5 1〜2日 初心者へのやさしさ 45/100
capacitor-community/sqlite#685 ·
capacitor-community/sqlite の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
メンテナーはふだん 1 日以内に返信
-
area:dictation bug P2
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
uttrflow/uttrflow-swift#2721 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
[@capacitor/app] iOS: 'Expression implicitly coerced from String? to Any' warning in getAppLanguageオープンtriage
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
ionic-team/capacitor-plugins#2604 ·
-
auth type: bug
難易度 2/5 1〜3時間 初心者へのやさしさ 90/100
googleapis/google-cloud-swift#1260 ·
メンテナーはふだん 1 日以内に返信
-
catalog-audit
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 1 日以内に返信