You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+7-1Lines changed: 7 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -43,7 +43,13 @@ MockSubSonic Db Client and Factory, primary purpose is for unit testing and faki
43
43
<li>WHERE (NOT) EXISTS ([QUERY])</li>
44
44
<li>WHERE [DATE VALUE | COLUMN] (NOT) BETWEEN [DATE VALUE] AND [DATE VALUE]</li>
45
45
</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>
0 commit comments