sqliteのLIKE演算でインデックスを使う方法 ― ありえるえりあ sqliteで、次の条件を満たしたselectでインデックスが使われていませんでした(explainで確認)。 インデックスを張ったカラム LIKE '/foo/bar/%'のように%が最後 次のページにsqliteがLIKE演算子に対しインデックスを使う条件が書いてありました。 http://www.sqlite.org/optoverview.html case-sensitive=OFFの時、sqliteは上記のようなLIKE演算に対して、インデックスを使ってくれません。 張ったインデックスの collating sequence は何でしょうか?どこでも何も指定しなければデフォルトの BINARY ですが、case-insensitive な演算に使うためには NOCASE でないといけません。 また、インデッ
An online tech community is the most exciting place for a software developer to spend their time. It not only offers the chance to work and interact remotely, but also helps in honing one’s own skills and becoming a well-rounded programmer. Whether you are a budding software developer or simply passionate about technology, here are the best online software development communities you can join. The
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く