-
Notifications
You must be signed in to change notification settings - Fork 466
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Parameter updates Diagram updates Examples now use MovR Code PRs: cockroachdb/cockroach#38589 cockroachdb/cockroach#38904 Fixes #5190
- Loading branch information
1 parent
eec5f25
commit fde3d70
Showing
6 changed files
with
2,771 additions
and
2,289 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<div><svg width="371" height="113"> | ||
<polygon points="9 33 1 29 1 37"></polygon> | ||
<polygon points="17 33 9 29 9 37"></polygon> | ||
<rect x="91" y="19" width="84" height="32" rx="10"></rect> | ||
<rect x="89" y="17" width="84" height="32" class="terminal" rx="10"></rect> | ||
<text class="terminal" x="99" y="37">PRIMARY</text> | ||
<rect x="195" y="19" width="46" height="32" rx="10"></rect> | ||
<rect x="193" y="17" width="46" height="32" class="terminal" rx="10"></rect> | ||
<text class="terminal" x="203" y="37">KEY</text> | ||
<rect x="91" y="63" width="72" height="32" rx="10"></rect> | ||
<rect x="89" y="61" width="72" height="32" class="terminal" rx="10"></rect> | ||
<text class="terminal" x="99" y="81">FAMILY</text><a xlink:href="sql-grammar.html#family_name" xlink:title="family_name"> | ||
<rect x="183" y="63" width="100" height="32"></rect> | ||
<rect x="181" y="61" width="100" height="32" class="nonterminal"></rect> | ||
<text class="nonterminal" x="191" y="81">family_name</text></a><path class="line" d="m17 33 h2 m60 0 h10 m84 0 h10 m0 0 h10 m46 0 h10 m0 0 h42 m-232 0 h20 m212 0 h20 m-252 0 q10 0 10 10 m232 0 q0 -10 10 -10 m-242 10 v24 m232 0 v-24 m-232 24 q0 10 10 10 m212 0 q10 0 10 -10 m-222 10 h10 m72 0 h10 m0 0 h10 m100 0 h10 m-252 -44 l20 0 m-1 0 q-9 0 -9 -10 l0 -12 q0 -10 10 -10 m252 32 l20 0 m-20 0 q10 0 10 -10 l0 -12 q0 -10 -10 -10 m-252 0 h10 m0 0 h242 m-292 32 h20 m292 0 h20 m-332 0 q10 0 10 10 m312 0 q0 -10 10 -10 m-322 10 v58 m312 0 v-58 m-312 58 q0 10 10 10 m292 0 q10 0 10 -10 m-302 10 h10 m0 0 h282 m23 -78 h-3"></path> | ||
<polygon points="361 33 369 29 369 37"></polygon> | ||
<polygon points="361 33 353 29 353 37"></polygon></svg></div> |
20 changes: 20 additions & 0 deletions
20
_includes/v19.2/sql/diagrams/create_as_constraint_def.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<div><svg width="459" height="37"> | ||
<polygon points="9 17 1 13 1 21"></polygon> | ||
<polygon points="17 17 9 13 9 21"></polygon> | ||
<rect x="31" y="3" width="84" height="32" rx="10"></rect> | ||
<rect x="29" y="1" width="84" height="32" class="terminal" rx="10"></rect> | ||
<text class="terminal" x="39" y="21">PRIMARY</text> | ||
<rect x="135" y="3" width="46" height="32" rx="10"></rect> | ||
<rect x="133" y="1" width="46" height="32" class="terminal" rx="10"></rect> | ||
<text class="terminal" x="143" y="21">KEY</text> | ||
<rect x="201" y="3" width="26" height="32" rx="10"></rect> | ||
<rect x="199" y="1" width="26" height="32" class="terminal" rx="10"></rect> | ||
<text class="terminal" x="209" y="21">(</text><a xlink:href="sql-grammar.html#create_as_params" xlink:title="create_as_params"> | ||
<rect x="247" y="3" width="138" height="32"></rect> | ||
<rect x="245" y="1" width="138" height="32" class="nonterminal"></rect> | ||
<text class="nonterminal" x="255" y="21">create_as_params</text></a><rect x="405" y="3" width="26" height="32" rx="10"></rect> | ||
<rect x="403" y="1" width="26" height="32" class="terminal" rx="10"></rect> | ||
<text class="terminal" x="413" y="21">)</text> | ||
<path class="line" d="m17 17 h2 m0 0 h10 m84 0 h10 m0 0 h10 m46 0 h10 m0 0 h10 m26 0 h10 m0 0 h10 m138 0 h10 m0 0 h10 m26 0 h10 m3 0 h-3"></path> | ||
<polygon points="449 17 457 13 457 21"></polygon> | ||
<polygon points="449 17 441 13 441 21"></polygon></svg></div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,50 +1,53 @@ | ||
<div><svg width="566" height="194"> | ||
|
||
<polygon points="9 17 1 13 1 21"></polygon> | ||
<polygon points="17 17 9 13 9 21"></polygon> | ||
<rect x="31" y="3" width="72" height="32" rx="10"></rect> | ||
<rect x="29" y="1" width="72" height="32" class="terminal" rx="10"></rect> | ||
<text class="terminal" x="39" y="21">CREATE</text> | ||
<rect x="123" y="3" width="62" height="32" rx="10"></rect> | ||
<rect x="121" y="1" width="62" height="32" class="terminal" rx="10"></rect> | ||
<text class="terminal" x="131" y="21">TABLE</text> | ||
<rect x="225" y="35" width="34" height="32" rx="10"></rect> | ||
<rect x="223" y="33" width="34" height="32" class="terminal" rx="10"></rect> | ||
<text class="terminal" x="233" y="53">IF</text> | ||
<rect x="279" y="35" width="48" height="32" rx="10"></rect> | ||
<rect x="277" y="33" width="48" height="32" class="terminal" rx="10"></rect> | ||
<text class="terminal" x="287" y="53">NOT</text> | ||
<rect x="347" y="35" width="68" height="32" rx="10"></rect> | ||
<rect x="345" y="33" width="68" height="32" class="terminal" rx="10"></rect> | ||
<text class="terminal" x="355" y="53">EXISTS</text> | ||
<a xlink:href="sql-grammar.html#table_name" xlink:title="table_name"> | ||
<rect x="455" y="3" width="90" height="32"></rect> | ||
<rect x="453" y="1" width="90" height="32" class="nonterminal"></rect> | ||
<text class="nonterminal" x="463" y="21">table_name</text> | ||
</a> | ||
<rect x="165" y="145" width="26" height="32" rx="10"></rect> | ||
<rect x="163" y="143" width="26" height="32" class="terminal" rx="10"></rect> | ||
<text class="terminal" x="173" y="163">(</text> | ||
<a xlink:href="sql-grammar.html#name" xlink:title="name"> | ||
<rect x="231" y="145" width="54" height="32"></rect> | ||
<rect x="229" y="143" width="54" height="32" class="nonterminal"></rect> | ||
<text class="nonterminal" x="239" y="163">name</text> | ||
</a> | ||
<rect x="231" y="101" width="24" height="32" rx="10"></rect> | ||
<rect x="229" y="99" width="24" height="32" class="terminal" rx="10"></rect> | ||
<text class="terminal" x="239" y="119">,</text> | ||
<rect x="325" y="145" width="26" height="32" rx="10"></rect> | ||
<rect x="323" y="143" width="26" height="32" class="terminal" rx="10"></rect> | ||
<text class="terminal" x="333" y="163">)</text> | ||
<rect x="391" y="145" width="38" height="32" rx="10"></rect> | ||
<rect x="389" y="143" width="38" height="32" class="terminal" rx="10"></rect> | ||
<text class="terminal" x="399" y="163">AS</text> | ||
<a xlink:href="sql-grammar.html#select_stmt" xlink:title="select_stmt"> | ||
<rect x="449" y="145" width="90" height="32"></rect> | ||
<rect x="447" y="143" width="90" height="32" class="nonterminal"></rect> | ||
<text class="nonterminal" x="457" y="163">select_stmt</text> | ||
</a> | ||
<path class="line" d="m17 17 h2 m0 0 h10 m72 0 h10 m0 0 h10 m62 0 h10 m20 0 h10 m0 0 h200 m-230 0 h20 m210 0 h20 m-250 0 q10 0 10 10 m230 0 q0 -10 10 -10 m-240 10 v12 m230 0 v-12 m-230 12 q0 10 10 10 m210 0 q10 0 10 -10 m-220 10 h10 m34 0 h10 m0 0 h10 m48 0 h10 m0 0 h10 m68 0 h10 m20 -32 h10 m90 0 h10 m2 0 l2 0 m2 0 l2 0 m2 0 l2 0 m-444 142 l2 0 m2 0 l2 0 m2 0 l2 0 m22 0 h10 m26 0 h10 m20 0 h10 m54 0 h10 m-94 0 l20 0 m-1 0 q-9 0 -9 -10 l0 -24 q0 -10 10 -10 m74 44 l20 0 m-20 0 q10 0 10 -10 l0 -24 q0 -10 -10 -10 m-74 0 h10 m24 0 h10 m0 0 h30 m20 44 h10 m26 0 h10 m-226 0 h20 m206 0 h20 m-246 0 q10 0 10 10 m226 0 q0 -10 10 -10 m-236 10 v14 m226 0 v-14 m-226 14 q0 10 10 10 m206 0 q10 0 10 -10 m-216 10 h10 m0 0 h196 m20 -34 h10 m38 0 h10 m0 0 h10 m90 0 h10 m3 0 h-3"></path> | ||
<polygon points="557 159 565 155 565 163"></polygon> | ||
<polygon points="557 159 549 155 549 163"></polygon> | ||
</svg></div> | ||
<div><svg width="959" height="337"> | ||
<polygon points="9 17 1 13 1 21"></polygon> | ||
<polygon points="17 17 9 13 9 21"></polygon> | ||
<rect x="31" y="3" width="72" height="32" rx="10"></rect> | ||
<rect x="29" y="1" width="72" height="32" class="terminal" rx="10"></rect> | ||
<text class="terminal" x="39" y="21">CREATE</text> | ||
<rect x="123" y="3" width="62" height="32" rx="10"></rect> | ||
<rect x="121" y="1" width="62" height="32" class="terminal" rx="10"></rect> | ||
<text class="terminal" x="131" y="21">TABLE</text> | ||
<rect x="225" y="35" width="34" height="32" rx="10"></rect> | ||
<rect x="223" y="33" width="34" height="32" class="terminal" rx="10"></rect> | ||
<text class="terminal" x="233" y="53">IF</text> | ||
<rect x="279" y="35" width="48" height="32" rx="10"></rect> | ||
<rect x="277" y="33" width="48" height="32" class="terminal" rx="10"></rect> | ||
<text class="terminal" x="287" y="53">NOT</text> | ||
<rect x="347" y="35" width="70" height="32" rx="10"></rect> | ||
<rect x="345" y="33" width="70" height="32" class="terminal" rx="10"></rect> | ||
<text class="terminal" x="355" y="53">EXISTS</text><a xlink:href="sql-grammar.html#table_name" xlink:title="table_name"> | ||
<rect x="457" y="3" width="96" height="32"></rect> | ||
<rect x="455" y="1" width="96" height="32" class="nonterminal"></rect> | ||
<text class="nonterminal" x="465" y="21">table_name</text></a><rect x="45" y="117" width="26" height="32" rx="10"></rect> | ||
<rect x="43" y="115" width="26" height="32" class="terminal" rx="10"></rect> | ||
<text class="terminal" x="53" y="135">(</text><a xlink:href="sql-grammar.html#column_name" xlink:title="column_name"> | ||
<rect x="91" y="117" width="108" height="32"></rect> | ||
<rect x="89" y="115" width="108" height="32" class="nonterminal"></rect> | ||
<text class="nonterminal" x="99" y="135">column_name</text></a><a xlink:href="sql-grammar.html#create_as_col_qual_list" xlink:title="create_as_col_qual_list"> | ||
<rect x="219" y="117" width="170" height="32"></rect> | ||
<rect x="217" y="115" width="170" height="32" class="nonterminal"></rect> | ||
<text class="nonterminal" x="227" y="135">create_as_col_qual_list</text></a><rect x="449" y="117" width="24" height="32" rx="10"></rect> | ||
<rect x="447" y="115" width="24" height="32" class="terminal" rx="10"></rect> | ||
<text class="terminal" x="457" y="135">,</text><a xlink:href="sql-grammar.html#column_name" xlink:title="column_name"> | ||
<rect x="513" y="117" width="108" height="32"></rect> | ||
<rect x="511" y="115" width="108" height="32" class="nonterminal"></rect> | ||
<text class="nonterminal" x="521" y="135">column_name</text></a><a xlink:href="sql-grammar.html#create_as_col_qual_list" xlink:title="create_as_col_qual_list"> | ||
<rect x="641" y="117" width="170" height="32"></rect> | ||
<rect x="639" y="115" width="170" height="32" class="nonterminal"></rect> | ||
<text class="nonterminal" x="649" y="135">create_as_col_qual_list</text></a><a xlink:href="sql-grammar.html#family_def" xlink:title="family_def"> | ||
<rect x="513" y="161" width="86" height="32"></rect> | ||
<rect x="511" y="159" width="86" height="32" class="nonterminal"></rect> | ||
<text class="nonterminal" x="521" y="179">family_def</text></a><a xlink:href="sql-grammar.html#create_as_constraint_def" xlink:title="create_as_constraint_def"> | ||
<rect x="513" y="205" width="182" height="32"></rect> | ||
<rect x="511" y="203" width="182" height="32" class="nonterminal"></rect> | ||
<text class="nonterminal" x="521" y="223">create_as_constraint_def</text></a><rect x="891" y="117" width="26" height="32" rx="10"></rect> | ||
<rect x="889" y="115" width="26" height="32" class="terminal" rx="10"></rect> | ||
<text class="terminal" x="899" y="135">)</text> | ||
<rect x="779" y="303" width="38" height="32" rx="10"></rect> | ||
<rect x="777" y="301" width="38" height="32" class="terminal" rx="10"></rect> | ||
<text class="terminal" x="787" y="321">AS</text><a xlink:href="sql-grammar.html#select_stmt" xlink:title="select_stmt"> | ||
<rect x="837" y="303" width="94" height="32"></rect> | ||
<rect x="835" y="301" width="94" height="32" class="nonterminal"></rect> | ||
<text class="nonterminal" x="845" y="321">select_stmt</text></a><path class="line" d="m17 17 h2 m0 0 h10 m72 0 h10 m0 0 h10 m62 0 h10 m20 0 h10 m0 0 h202 m-232 0 h20 m212 0 h20 m-252 0 q10 0 10 10 m232 0 q0 -10 10 -10 m-242 10 v12 m232 0 v-12 m-232 12 q0 10 10 10 m212 0 q10 0 10 -10 m-222 10 h10 m34 0 h10 m0 0 h10 m48 0 h10 m0 0 h10 m70 0 h10 m20 -32 h10 m96 0 h10 m2 0 l2 0 m2 0 l2 0 m2 0 l2 0 m-572 114 l2 0 m2 0 l2 0 m2 0 l2 0 m22 0 h10 m26 0 h10 m0 0 h10 m108 0 h10 m0 0 h10 m170 0 h10 m40 0 h10 m24 0 h10 m20 0 h10 m108 0 h10 m0 0 h10 m170 0 h10 m-338 0 h20 m318 0 h20 m-358 0 q10 0 10 10 m338 0 q0 -10 10 -10 m-348 10 v24 m338 0 v-24 m-338 24 q0 10 10 10 m318 0 q10 0 10 -10 m-328 10 h10 m86 0 h10 m0 0 h212 m-328 -10 v20 m338 0 v-20 m-338 20 v24 m338 0 v-24 m-338 24 q0 10 10 10 m318 0 q10 0 10 -10 m-328 10 h10 m182 0 h10 m0 0 h116 m-402 -88 l20 0 m-1 0 q-9 0 -9 -10 l0 -12 q0 -10 10 -10 m402 32 l20 0 m-20 0 q10 0 10 -10 l0 -12 q0 -10 -10 -10 m-402 0 h10 m0 0 h392 m-442 32 h20 m442 0 h20 m-482 0 q10 0 10 10 m462 0 q0 -10 10 -10 m-472 10 v102 m462 0 v-102 m-462 102 q0 10 10 10 m442 0 q10 0 10 -10 m-452 10 h10 m0 0 h432 m20 -122 h10 m26 0 h10 m-912 0 h20 m892 0 h20 m-932 0 q10 0 10 10 m912 0 q0 -10 10 -10 m-922 10 v118 m912 0 v-118 m-912 118 q0 10 10 10 m892 0 q10 0 10 -10 m-902 10 h10 m0 0 h882 m22 -138 l2 0 m2 0 l2 0 m2 0 l2 0 m-202 186 l2 0 m2 0 l2 0 m2 0 l2 0 m2 0 h10 m38 0 h10 m0 0 h10 m94 0 h10 m3 0 h-3"></path> | ||
<polygon points="949 317 957 313 957 321"></polygon> | ||
<polygon points="949 317 941 313 941 321"></polygon></svg></div> |
Oops, something went wrong.