rhymix/classes/db/queryparts
Kijin Sung 20fa55a3fc Support HAVING in XML queries
GROUP BY에 사용되는 <groups> 태그 안에 <having> 태그를 넣을 수 있습니다.
문법은 <conditions> 부분에 적용되는 것과 같습니다.

<query id="queryId" action="select">
    ...
    <groups>
        <group column="document_srl" />
        <having>
            <condition operation="more" column="document_srl" var="myvar" default="0" />
        </having>
    </groups>
    ...
</query>

결과: SELECT ... GROUP BY document_srl HAVING document_srl >= 0
2018-07-03 15:40:52 +09:00
..
condition Allow nested condition groups 2018-06-30 23:01:55 +09:00
expression Convert all SQL keywords to upper case 2018-06-30 15:42:52 +09:00
limit Support <offset> in XML query <navigation> section 2016-09-14 13:44:35 +09:00
order Convert all SQL keywords to upper case 2018-06-30 15:42:52 +09:00
table Condition pipe defaults to AND 2018-06-30 15:55:06 +09:00
Query.class.php Support HAVING in XML queries 2018-07-03 15:40:52 +09:00
Subquery.class.php PHP 5 방식의 생성자 (__construct) 사용 2015-04-01 11:30:04 +09:00