æè¿ãTengã使ã£ã¦ãã¾ãããããã»ã©è¤éã§ããªãSQLãçµã¿ç«ã¦ãã®ã«ãsearchã¡ã½ããã¯ä½¿ãã«ããã¨æãæãå²ã¨å¤ã(group byåºæ¥ãªãã¨ããx = ? or y = ? ã¨ãæ¸ãã«ããã¨ã)ããã¶ããæ¹éã¨ãã¦ãã·ã³ãã«ãªSQL以å¤ã¯ãsearch_by_sqlãã£ã¦ãããã¨ãªã®ã ããã¨æãã¾ãã ã§ãããSQLãæååã¨ãã¦çµã¿ç«ã¦ãã®ã¯ãå²ã¨ããã©ãããã®ã§ãSQLãçµã¿ç«ã¦ãã¢ã¸ã¥ã¼ã«ã使ã£ã¦ãsearch_by_sqlã«æ¸¡ãã¦ãã¾ãã O/Rãããã¼ã§ãSQLã®ã¯ã¨ãªãçµã¿ç«ã¦ããã®ãçµã¿è¾¼ã¾ãã¦ã¾ãããTengã§ä½¿ããã¦ããã®ã¯ãSQL::MakerãDBIx::Classã ã¨ãSQL::AbstractãTengã®searchã¡ã½ããã§ã¯ãSQL::Makerã®select ã¡ã½ããã使ã£ã¦ãã¾ãã®ã§ãåºæ¥ããã¨ã¯ãselectã¡ã½ããã«åºæ¥ããã¨ã«éããã¾ã
{{#tags}}- {{label}}
{{/tags}}