Skip to content

Commit 67eef62

Browse files
authored
Merge pull request #26 from SubSonic-Core/master
Update README.md
2 parents 042bb1d + cbc669a commit 67eef62

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,13 @@ MockSubSonic Db Client and Factory, primary purpose is for unit testing and faki
4343
<li>WHERE (NOT) EXISTS ([QUERY])</li>
4444
<li>WHERE [DATE VALUE | COLUMN] (NOT) BETWEEN [DATE VALUE] AND [DATE VALUE]</li>
4545
</ul>
46-
<li>Support for paging large datasets</li>
46+
<li>Support for paging large datasets
47+
<ul>
48+
<li>How it is done, we use a cte to filter, order and page the table index.</li>
49+
<li>Then we use an inner join with the cte to the table and pull back the complete page that we are looking for.</li>
50+
<li>We use a MARS query to retrieve the unpaged record count at the same time. this approach removed the need for a second call from a traditional DAL and reduces the overhead by 50%.</li>
51+
</ul>
52+
</li>
4753
<li>Supports OrderBy, OrderByDescending, ThenBy, ThenByDescending</li>
4854
<li>Data Caching</li>
4955
<li>Insert and Update queries use Change Data Capture (CDC) to extract database generated data back to the client.

0 commit comments

Comments
 (0)