ãã®è¨äºã§ã¯ãPostgreSQL 9.0 ã®æ¦è¦è¨äºã ãã§ã¯ç´¹ä»ããããªãã£ãã9.0ã®ãã®ä»ã®æ°æ©è½ã«ã¤ãã¦ã¾ã¨ãã¦ãã¾ãã SQL æ§æã®å¼·å string_agg æååãé£çµãã¦éç´ãã string_agg é¢æ°ã追å ããã¾ããã 以åã®ãã¼ã¸ã§ã³ã§ã array_agg + array_to_string ã§åãçµæãå¾ããã¾ãããããé«éã§ãã ä»ã®ãã¼ã¿ãã¼ã¹ã«ãåæ§ã®é¢æ°ã¯ããã¾ãããMySQL ã§ã¯ group_concat()ãOracle Database ã§ã¯ listagg() ã¨ååã¯ç°ãªãã¾ãã =# SELECT array_to_string(array_agg(t), '+'), string_agg(t, '+') FROM tbl; array_to_string | string_agg -----------------+----------
{{#tags}}- {{label}}
{{/tags}}