æè¿ãªãã MySQL ã使ã Ruby ã¢ããªã PostgreSQL ã«å¯¾å¿ããç¾½ç®ã«ãªã£ã¦ããã®ã§ãããä»ã¾ã§ã»ã¨ãã© MySQL 以å¤ã® RDBMS ã触ã£ã¦ãªãã£ãã®ã§ãè²ã ããã£ããããã®ã§ã¡ã¢ã£ã¨ãã¾ãã ãªã PostgreSQL æ´ãæµ ãã®ã§ééã£ã¦ããã¨æ¸ãã¦ãããããã¾ããã API ããã°ã©ã ãã MySQL ã«ã¢ã¯ã»ã¹ããã«ã¯ Ruby/MySQL ã使ã£ã¦ããã®ã§ãããPostgreSQL ç¨ã® API ãæ°ãã«è¦ããã®ã¯é¢åã ã£ãã®ã§ãSequel ã使ã£ã¦æ¸ãç´ãã¾ããã mysql.query("select col1, col2 from table where col3='xxx'") â db[:table].where(col3: 'xxx').select(:col1, :col2) â¦ã¿ãããªæãã§ãã ä»ã¾ã§ããã°ã©ã ä¸ã«çªç¶ SQL ãç¾ã
{{#tags}}- {{label}}
{{/tags}}