Nov 23, 2012 Sequelizeã§ãããã Node.jsã§MySQLãæ±ãã«ããã£ã¦ãSequelizeã¨ããã¢ã¸ã¥ã¼ã«ã使ç¨ãã¦ããã®ã§ããã ãµã³ãã«ã¨ãªãã½ã¼ã¹ã³ã¼ããå ¬å¼ãè¦ãã¨ãã // search with string replacements Project.findAll({where: ["id > ?", 25]}).success(function(projects) { // projects will be an array of Projects having a greater id than 25 }) ããã ãããç¡ãã¦ããªãã¨ãå¿ãã¨ãªãæãã§ããã ã»ã¤ã³ã¹ã¿ã³ã¹çææã®ãªãã·ã§ã³ã®æå³ã¯ï¼ ã»ã¨ã©ã¼ãã³ããªã³ã°ã¯ï¼ ã»order byãªã©ã®ã¬ã³ã¼ãã®ä¸¦ã³æ¿ãã®ãªãã·ã§ã³ã¯ï¼ ã»ç¬èªã®Queryãçºè¡ããæ¹æ³ã¯ï¼ ãªã©DBãå§ãã¦è§¦ã
{{#tags}}- {{label}}
{{/tags}}