mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-09 20:12:14 +09:00
Add user-configurable index hints to getComment/DocumentListByMemberSrl
This commit is contained in:
parent
91a934b7bf
commit
68ecf64a6b
2 changed files with 9 additions and 3 deletions
|
|
@ -1,7 +1,10 @@
|
||||||
<query id="getCommentList" action="select">
|
<query id="getCommentListByMemberSrl" action="select">
|
||||||
<tables>
|
<tables>
|
||||||
<table name="comments" />
|
<table name="comments" />
|
||||||
</tables>
|
</tables>
|
||||||
|
<index_hint for="ALL">
|
||||||
|
<index var="index_hint" default="idx_member_srl" type="USE" />
|
||||||
|
</index_hint>
|
||||||
<columns>
|
<columns>
|
||||||
<column name="comment_srl" />
|
<column name="comment_srl" />
|
||||||
<column name="parent_srl" />
|
<column name="parent_srl" />
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,10 @@
|
||||||
<query id="getDocumentList" action="select">
|
<query id="getDocumentListByMemberSrl" action="select">
|
||||||
<tables>
|
<tables>
|
||||||
<table name="documents" />
|
<table name="documents" />
|
||||||
</tables>
|
</tables>
|
||||||
|
<index_hint for="ALL">
|
||||||
|
<index var="index_hint" default="idx_member_srl" type="USE" />
|
||||||
|
</index_hint>
|
||||||
<columns>
|
<columns>
|
||||||
<column name="*" />
|
<column name="*" />
|
||||||
</columns>
|
</columns>
|
||||||
|
|
@ -9,7 +12,7 @@
|
||||||
<condition operation="equal" column="member_srl" var="member_srl" filter="number" notnull="notnull" />
|
<condition operation="equal" column="member_srl" var="member_srl" filter="number" notnull="notnull" />
|
||||||
</conditions>
|
</conditions>
|
||||||
<navigation>
|
<navigation>
|
||||||
<index var="list_order" default="list_order" order="asc" />
|
<index var="list_order" default="list_order" order="order_type" />
|
||||||
<list_count var="list_count" default="20" />
|
<list_count var="list_count" default="20" />
|
||||||
<page_count var="page_count" default="10" />
|
<page_count var="page_count" default="10" />
|
||||||
<page var="page" default="1" />
|
<page var="page" default="1" />
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue