mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-26 05:42:13 +09:00
Add some unit tests for DBQueryParser (more to come)
This commit is contained in:
parent
8bb01edf86
commit
10302ea44e
4 changed files with 186 additions and 0 deletions
17
tests/_data/dbquery/selectJoinTest2.xml
Normal file
17
tests/_data/dbquery/selectJoinTest2.xml
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
<query id="selectJoinTest2" action="select">
|
||||
<tables>
|
||||
<table name="documents" />
|
||||
<table name="member" type="left join">
|
||||
<conditions>
|
||||
<condition operation="equal" column="documents.member_srl" default="member.member_srl" />
|
||||
</conditions>
|
||||
</table>
|
||||
</tables>
|
||||
<columns>
|
||||
<column name="documents.*" />
|
||||
<column name="member.regdate" alias="member_regdate" />
|
||||
</columns>
|
||||
<conditions>
|
||||
<condition operation="in" column="documents.document_srl" var="document_srl_list" pipe="and" />
|
||||
</conditions>
|
||||
</query>
|
||||
Loading…
Add table
Add a link
Reference in a new issue