This commit is contained in:
parent
9d86517cb0
commit
81a96b38e4
|
@ -32,7 +32,7 @@ tags (location binary(20), type int)</code></pre>
|
||||||
<p>查看数据库内全部STable,及其相关信息,包括STable的名称、创建时间、列数量、标签(TAG)数量、通过该STable建表的数量。 </p></li>
|
<p>查看数据库内全部STable,及其相关信息,包括STable的名称、创建时间、列数量、标签(TAG)数量、通过该STable建表的数量。 </p></li>
|
||||||
<li><p>删除超级表</p>
|
<li><p>删除超级表</p>
|
||||||
<pre><code class="mysql language-mysql">DROP TABLE <stable_name></code></pre>
|
<pre><code class="mysql language-mysql">DROP TABLE <stable_name></code></pre>
|
||||||
<p>Note: 删除STable不会级联删除通过STable创建的表;相反删除STable时要求通过该STable创建的表都已经被删除。</p></li>
|
<p>Note: 删除STable时,所有通过该STable创建的表都将被删除。</p></li>
|
||||||
<li><p>查看属于某STable并满足查询条件的表</p>
|
<li><p>查看属于某STable并满足查询条件的表</p>
|
||||||
<pre><code class="mysql language-mysql">SELECT TBNAME,[TAG_NAME,…] FROM <stable_name> WHERE <tag_name> <[=|=<|>=|<>] values..> ([AND|OR] …)</code></pre>
|
<pre><code class="mysql language-mysql">SELECT TBNAME,[TAG_NAME,…] FROM <stable_name> WHERE <tag_name> <[=|=<|>=|<>] values..> ([AND|OR] …)</code></pre>
|
||||||
<p>查看属于某STable并满足查询条件的表。说明:TBNAME为关键词,显示通过STable建立的子表表名,查询过程中可以使用针对标签的条件。</p>
|
<p>查看属于某STable并满足查询条件的表。说明:TBNAME为关键词,显示通过STable建立的子表表名,查询过程中可以使用针对标签的条件。</p>
|
||||||
|
|
|
@ -73,7 +73,7 @@ INTERVAL(10M)</code></pre>
|
||||||
<p>It lists the STable's schema and tags</p>
|
<p>It lists the STable's schema and tags</p>
|
||||||
<a class='anchor' id='Drop-a-STable'></a><h3>Drop a STable</h3>
|
<a class='anchor' id='Drop-a-STable'></a><h3>Drop a STable</h3>
|
||||||
<pre><code class="mysql language-mysql">DROP TABLE <stable_name></code></pre>
|
<pre><code class="mysql language-mysql">DROP TABLE <stable_name></code></pre>
|
||||||
<p>To delete a STable, all the tables created via this STable shall be deleted first, otherwise, it will fail.</p>
|
<p>To delete a STable, all the tables created via this STable will be deleted.</p>
|
||||||
<a class='anchor' id='List-the-Associated-Tables-of-a-STable'></a><h3>List the Associated Tables of a STable</h3>
|
<a class='anchor' id='List-the-Associated-Tables-of-a-STable'></a><h3>List the Associated Tables of a STable</h3>
|
||||||
<pre><code class="mysql language-mysql">SELECT TBNAME,[TAG_NAME, ...] FROM <stable_name> WHERE <tag_name> <[=|=<|>=|<>] values..> ([AND|OR] ...)</code></pre>
|
<pre><code class="mysql language-mysql">SELECT TBNAME,[TAG_NAME, ...] FROM <stable_name> WHERE <tag_name> <[=|=<|>=|<>] values..> ([AND|OR] ...)</code></pre>
|
||||||
<p>It will list all the tables which satisfy the tag filter conditions. The tables are all created from this specific STable. TBNAME is a new keyword introduced, it is the table name associated with the STable. </p>
|
<p>It will list all the tables which satisfy the tag filter conditions. The tables are all created from this specific STable. TBNAME is a new keyword introduced, it is the table name associated with the STable. </p>
|
||||||
|
|
Loading…
Reference in New Issue