mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-03 16:51:40 +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>
|
||||
<table name="comments" />
|
||||
</tables>
|
||||
<index_hint for="ALL">
|
||||
<index var="index_hint" default="idx_member_srl" type="USE" />
|
||||
</index_hint>
|
||||
<columns>
|
||||
<column name="comment_srl" />
|
||||
<column name="parent_srl" />
|
||||
|
|
|
|||
|
|
@ -1,7 +1,10 @@
|
|||
<query id="getDocumentList" action="select">
|
||||
<query id="getDocumentListByMemberSrl" action="select">
|
||||
<tables>
|
||||
<table name="documents" />
|
||||
</tables>
|
||||
<index_hint for="ALL">
|
||||
<index var="index_hint" default="idx_member_srl" type="USE" />
|
||||
</index_hint>
|
||||
<columns>
|
||||
<column name="*" />
|
||||
</columns>
|
||||
|
|
@ -9,7 +12,7 @@
|
|||
<condition operation="equal" column="member_srl" var="member_srl" filter="number" notnull="notnull" />
|
||||
</conditions>
|
||||
<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" />
|
||||
<page_count var="page_count" default="10" />
|
||||
<page var="page" default="1" />
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue