|
@@ -17,17 +17,17 @@
|
|
|
<div class="">
|
|
|
<h4>使用 DSL (Domain Specific Language) 来进行查询</h4>
|
|
|
<ul class="list-style-disc">
|
|
|
- <li><b>Single Query</b>
|
|
|
- <p>DB where name="Reporting" select name, owner</p>
|
|
|
+ <li><b>单条查询</b>
|
|
|
+ <p>例如:DB where name="Reporting" select name, owner</p>
|
|
|
</li>
|
|
|
- <li><b>GROUPBY</b>
|
|
|
- <p>select count(CustomerID), Country from Customers group by Country</p>
|
|
|
+ <li><b>GROUPBY语法</b>
|
|
|
+ <p>例如:select count(CustomerID), Country from Customers group by Country</p>
|
|
|
</li>
|
|
|
- <li><b>ORDERBY</b>
|
|
|
- <p>DB where name="Reporting" select name, owner orderby name limit 10 offset 5</p>
|
|
|
+ <li><b>ORDERBY语法</b>
|
|
|
+ <p>例如:DB where name="Reporting" select name, owner orderby name limit 10 offset 5</p>
|
|
|
</li>
|
|
|
- <li><b>LIMIT</b>
|
|
|
- <p>DB where name="Reporting" select name, owner limit 10 offset 0</p>
|
|
|
+ <li><b>LIMIT语法</b>
|
|
|
+ <p>例如:DB where name="Reporting" select name, owner limit 10 offset 0</p>
|
|
|
</li>
|
|
|
</ul>
|
|
|
<!-- <h5 style="padding-left: 22.5px;">
|