Ruby 㧠DB ãæ±ãã¡ãã£ã¨ããã¹ã¯ãªãããæ¸ãã¨ããActiveRecord ã§çSQLã使ãã¨è²ã æããã¨ãå¤ãã ãã®ããã®ã¡ã½ãããã¾ã¨ãã¦ã¿ãã äºåæºåï¼ establish_connection ä½æã»æ´æ°ç³»ï¼ execute æ¤ç´¢ç³»ï¼ select_all, select_one, select_rows, select_values, select_value ãã¬ã¼ã¹ãã«ãï¼ sanitize_sql_array äºåæºå establish_connection DBã¨ã®ã³ãã¯ã·ã§ã³ã確ç«ããã'mysql2', 'postgresql', 'redshift' ãªã©æ§ã ãªã¢ããã¿ã使ããã 以ä¸ã¯æ¥ç¶è¨å®ã®ä¸ä¾ã [MySQL] (è¦ mysql2 gem) require 'active_record' config = { adapter: 'mysql2
{{#tags}}- {{label}}
{{/tags}}