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 ã§ãªãã¨ããã¾ããã ã¾ããã¤ã³ãã
以åããä½ã£ã¦ããé»è»ä½ç½®ãããã«é¢ãã¦ãæå»è¡¨(ãã¤ã¢ã°ã©ã )ãã¼ã¿ã¯ããã¹ããã¡ã¤ã«ã¨ãã¦ä¿åããèµ·åæã«ãã¼ã¹ãã¦ä½¿ã£ã¦ããã®ã ããããªã大éã®ãã¼ã¿ã«ãªãã®ã§ããã§ã¯æ±ãã大å¤ã ä»å¾iPhoneã§è²ã ã¨ãã¼ã¿ãã¼ã¹ãæ±ãæ©ä¼ã¯å¢ããããªã®ã§ãããã§ä½¿ãæ¹ã«ã¤ãã¦èª¿ã¹ã¦ã¾ã¨ãã¦ããããã¨æãã ã¾ãåææºå Frameworksã«libsqlite3.0.dylibã追å ãã¦ããã ãã¼ã¿ãã¼ã¹ãæ±ãã¯ã©ã¹ã®ãããã«ã¦ããã¤ã³ãã¼ã(#import )ããã¡ã³ãå¤æ°ã«sqlite3åã®ãã¤ã³ã¿å¤æ°ãå®ç¾©(sqlite3 *database)ããã 次ã«ããã¼ã¿ãã¼ã¹ã¸ã®æ¸ãè¾¼ã¿ãå¯è½ã«ããããã«ããªã½ã¼ã¹ãã£ã¬ã¯ããªã«ãããã¼ã¿ãã¼ã¹ãã¡ã¤ã«ãã¦ã¼ã¶ã¼ãæ¸ãæãå¯è½ãªãã£ã¬ã¯ããª(NSDocumentDirectory)ã«å¿ è¦ã«å¿ãã¦ã³ãã¼ããã // ã¾ããåããã¡ã¤ã«ãæ¢ã«ã¦ã¼
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}