Commit graph

154 commits

Author SHA1 Message Date
conory
6d081b9fec XML쿼리에서 CAST(regdate as DATE) 와 같은 함수 사용시 발생하는 오류 수정
datatype도 escape되는 바람에 발생된 문제로, 우선 대문자에 한하여 escape 되지 않도록 수정하였습니다.
주석에 떡하니 된다고 해놓고 실제로는...
2018-09-15 00:58:50 +09:00
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
Kijin Sung
2b5cded376 Remove commented debug code 2018-07-02 16:41:13 +09:00
Kijin Sung
3359431d08 Allow nested condition groups
XML 쿼리에서 <conditions><group> 안에 <group> 태그를 또 쓸 수 있도록 허용함.
이제 WHERE (a AND (b OR (c AND d))) 이런 조건을 작성할 수 있음.
2018-06-30 23:01:55 +09:00
Kijin Sung
efa1b603c4 Condition pipe defaults to AND
XML 쿼리 작성시 pipe="and"를 일일이 추가하지 않아도 기본값이 AND가 되도록 함
2018-06-30 15:55:06 +09:00
BJRambo
f2d2867069 PHP7.2 count 관련 워닝에러를 고침. 2018-01-24 16:26:57 +09:00
Kijin Sung
e0d7ae3641 Fix fatal error when using index hint with mysqli, mysqli_innodb, etc. 2018-01-04 12:07:45 +09:00
Kijin Sung
1a81fd43f3 Convert Object class to BaseObject in core classes 2017-11-27 22:34:28 +09:00
Kijin Sung
be9a109a37 Support <offset> in XML query <navigation> section 2016-09-14 13:44:35 +09:00
Kijin Sung
7ac2312eb7 Use getInternalDateTime() as default time value for DB insert 2016-02-12 09:21:53 +09:00
Kijin Sung
15d3ba7ca1 PHP 5 방식의 생성자 (__construct) 사용 2015-04-01 11:30:04 +09:00
bnu
a30ee4d573 fix #979 notin default 값에 다중 값을 사용할 수 없는 문제 고침 2014-10-05 15:40:17 +09:00
akasima
26427a8967 #862 escapeValue()에서 foreach로 처리되록 수정 2014-07-25 18:27:59 +09:00
akasima
e9d7e0b1ce #236 XML query error if the list_count's default value is not specified 2014-01-08 13:30:17 +09:00
khongchi
fb998623ea #162 db query의 입력값 유무 검사 오류 수정 2013-12-10 16:08:38 +09:00
khongchi
540da2c75c #85, time()을 $_SERVER['REQUEST_TIME']으로 대체 2013-11-21 16:14:13 +09:00
khongchi
5693e340fe issue 3645, php5 대응, 함수 대체
git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@13202 201d5d3c-b55e-5fd7-737f-ddc643e51545
2013-11-13 01:40:53 +00:00
akasima
bce0a0b6d4 copyright add to php files
git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@13186 201d5d3c-b55e-5fd7-737f-ddc643e51545
2013-11-08 05:52:51 +00:00
ngleader
dbc18a4f99 change author
git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@13180 201d5d3c-b55e-5fd7-737f-ddc643e51545
2013-11-07 02:42:42 +00:00
misol
f70ce644ce Close Connection when there is no connection value.
git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@13161 201d5d3c-b55e-5fd7-737f-ddc643e51545
2013-09-25 15:29:32 +00:00
chschy
c3647b3f99 changed variable definition to __XE__
git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@12729 201d5d3c-b55e-5fd7-737f-ddc643e51545
2013-02-12 02:46:25 +00:00
flyskyko
ba9800ff34 issue 2119. supporting php 5.4. widget and xml classes.
git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@12697 201d5d3c-b55e-5fd7-737f-ddc643e51545
2013-02-05 03:25:47 +00:00
flyskyko
0f04bd3f92 merge changes of luminous to maserati (~r12676)
git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@12680 201d5d3c-b55e-5fd7-737f-ddc643e51545
2013-02-04 08:09:07 +00:00
ucorina
09ff5b94ac Updated code comments for PHPDocumentor - XmlQueryParser, QueryParser, DBParser and column classes
git-svn-id: http://xe-core.googlecode.com/svn/branches/luminous@12419 201d5d3c-b55e-5fd7-737f-ddc643e51545
2012-12-17 15:53:10 +00:00
ucorina
39c2f06aa7 Updated code comments for PHPDocumentor - column classes
git-svn-id: http://xe-core.googlecode.com/svn/branches/luminous@12418 201d5d3c-b55e-5fd7-737f-ddc643e51545
2012-12-17 14:29:23 +00:00
ucorina
2334535831 Updated code comments for PHPDocumentor - XmlQueryParser, QueryParser, DBParser
git-svn-id: http://xe-core.googlecode.com/svn/branches/luminous@12417 201d5d3c-b55e-5fd7-737f-ddc643e51545
2012-12-17 13:50:35 +00:00
ucorina
9d9914ff3b Issue 2758: Issue with NULL value on CUBRID when using prepared statements
git-svn-id: http://xe-core.googlecode.com/svn/branches/luminous@12415 201d5d3c-b55e-5fd7-737f-ddc643e51545
2012-12-17 12:30:39 +00:00
ovclas
7e118f8533 merge from branch 1.5.3.2 (~r12279)
git-svn-id: http://xe-core.googlecode.com/svn/branches/luminous@12282 201d5d3c-b55e-5fd7-737f-ddc643e51545
2012-11-22 06:41:02 +00:00
ucorina
156d7655e9 Issue 2694: Add support for CAST and CONVERT functions
git-svn-id: http://xe-core.googlecode.com/svn/branches/luminous@12237 201d5d3c-b55e-5fd7-737f-ddc643e51545
2012-11-15 16:34:32 +00:00
ovclas
f324540321 issue 2662 coding convention bug fix
git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@12231 201d5d3c-b55e-5fd7-737f-ddc643e51545
2012-11-15 07:27:06 +00:00
ovclas
d5a46e5e90 issue 262 coding convention in classes
git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@12230 201d5d3c-b55e-5fd7-737f-ddc643e51545
2012-11-15 07:19:11 +00:00
ovclas
2cb9487ba1 issue 2662 coding convention in xml class
git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@12225 201d5d3c-b55e-5fd7-737f-ddc643e51545
2012-11-15 01:59:10 +00:00
ucorina
f93d0d289d Issue 1431: xml query click_count error - fixed missing class error, added unit tests
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.3.2@12017 201d5d3c-b55e-5fd7-737f-ddc643e51545
2012-10-31 09:54:57 +00:00
flyskyko
b87dbb55ce issue 2525, fixed a query error on windows
git-svn-id: http://xe-core.googlecode.com/svn/branches/luminous@11576 201d5d3c-b55e-5fd7-737f-ddc643e51545
2012-10-04 02:05:52 +00:00
flyskyko
b5f5c6f094 issue 2247 , Remove non utf-8 and user defined area codes
git-svn-id: http://xe-core.googlecode.com/svn/branches/luminous@11212 201d5d3c-b55e-5fd7-737f-ddc643e51545
2012-09-12 05:09:28 +00:00
flyskyko
e3dcb48f88 issue 2247, Remove non utf-8 and user defined area codes
git-svn-id: http://xe-core.googlecode.com/svn/branches/luminous@11186 201d5d3c-b55e-5fd7-737f-ddc643e51545
2012-09-10 02:46:59 +00:00
flyskyko
90dbcd491a merge from branch 1.5.3.1 (r11063-r11081)
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.3.2@11096 201d5d3c-b55e-5fd7-737f-ddc643e51545
2012-08-27 07:02:59 +00:00
ucorina
5ee72554f1 Issue 2288: Bug in XML Query with "like" clause
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.3.1@11081 201d5d3c-b55e-5fd7-737f-ddc643e51545
2012-08-24 10:06:32 +00:00
devjin
75a5398930 issue 2010 modified the regular expression of email. (add + . ~)
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.3.2@11004 201d5d3c-b55e-5fd7-737f-ddc643e51545
2012-08-08 13:20:08 +00:00
ucorina
f52594242e Issue 2213: queries xml 작성시 더하기(+) 사용시 파싱 에러 문제
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.3.2@10988 201d5d3c-b55e-5fd7-737f-ddc643e51545
2012-08-06 12:55:17 +00:00
ucorina
2681ef5502 Issue 2191: XML query condition 'like' error.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@10956 201d5d3c-b55e-5fd7-737f-ddc643e51545
2012-07-30 15:24:45 +00:00
ovclas
1a7a68efea issue 2109 Fixed a problem in_array function
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@10832 201d5d3c-b55e-5fd7-737f-ddc643e51545
2012-07-05 00:16:31 +00:00
ovclas
ebc5edeec7 add phpDoc comment
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@10780 201d5d3c-b55e-5fd7-737f-ddc643e51545
2012-06-19 08:53:24 +00:00
ucorina
40a2d4a6ed Issue 2064: XML Query - added support for not_in
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@10776 201d5d3c-b55e-5fd7-737f-ddc643e51545
2012-06-18 12:04:38 +00:00
ovclas
3f0dd9cb06 add phpDoc style comment
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@10774 201d5d3c-b55e-5fd7-737f-ddc643e51545
2012-06-14 02:33:44 +00:00
ovclas
dc71fd8df0 merge error fix
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@10718 201d5d3c-b55e-5fd7-737f-ddc643e51545
2012-05-17 06:29:43 +00:00
ovclas
a4b3a914a5 reverse merge from 1.6.0 (r10563)
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@10716 201d5d3c-b55e-5fd7-737f-ddc643e51545
2012-05-17 06:12:20 +00:00
ovclas
57a0cc59b1 reverse merge from 1.6.0 (r10156, r10469, r10370, r10369, r10365, r10111, r10110, r10108, r10064, r10063, r10060, r10054, r10052, r10051, r10050, r10049, r10044, r10042, r10041, r10030, r10029, r10024, r10014, r10013)
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@10715 201d5d3c-b55e-5fd7-737f-ddc643e51545
2012-05-17 05:52:06 +00:00
ovclas
3afad81016 reverse merge rollback
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@10714 201d5d3c-b55e-5fd7-737f-ddc643e51545
2012-05-17 02:38:33 +00:00
ovclas
f0aa085c94 reverse merge from 1.6.0 (r10563)
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@10711 201d5d3c-b55e-5fd7-737f-ddc643e51545
2012-05-17 00:57:29 +00:00