[#6575] Enhance plain SQL templating language documentation with parsing rules
This commit is contained in:
parent
9f1cb28437
commit
0508a835fe
@ -5995,9 +5995,9 @@ field("replace(substr(quote(zeroblob(({0} + 1) / 2)), 3, {0}), '0', {1})", Strin
|
||||
|
||||
</html><java><![CDATA[query(
|
||||
"SELECT /* In a comment, this is not a placeholder: {0}. And this is not a bind variable: ? */ title AS `title {1} ?` " +
|
||||
"-- Another comment without placeholders: {2} nor bind variables: ?
|
||||
"-- Another comment without placeholders: {2} nor bind variables: ?" +
|
||||
"FROM book " +
|
||||
"WHERE title = 'In a string literal, this is not a placeholder: {3}. And this is not a bind variable: ?'
|
||||
"WHERE title = 'In a string literal, this is not a placeholder: {3}. And this is not a bind variable: ?'"
|
||||
);]]></java><html>
|
||||
|
||||
<p>
|
||||
|
||||
@ -6393,9 +6393,9 @@ field("replace(substr(quote(zeroblob(({0} + 1) / 2)), 3, {0}), '0', {1})", Strin
|
||||
|
||||
</html><java><![CDATA[query(
|
||||
"SELECT /* In a comment, this is not a placeholder: {0}. And this is not a bind variable: ? */ title AS `title {1} ?` " +
|
||||
"-- Another comment without placeholders: {2} nor bind variables: ?
|
||||
"-- Another comment without placeholders: {2} nor bind variables: ?" +
|
||||
"FROM book " +
|
||||
"WHERE title = 'In a string literal, this is not a placeholder: {3}. And this is not a bind variable: ?'
|
||||
"WHERE title = 'In a string literal, this is not a placeholder: {3}. And this is not a bind variable: ?'"
|
||||
);]]></java><html>
|
||||
|
||||
<p>
|
||||
|
||||
@ -9475,9 +9475,9 @@ condition("my_column IN ({0})", list(a, b, c)); // Using a single template ar
|
||||
|
||||
</html><java><![CDATA[query(
|
||||
"SELECT /* In a comment, this is not a placeholder: {0}. And this is not a bind variable: ? */ title AS `title {1} ?` " +
|
||||
"-- Another comment without placeholders: {2} nor bind variables: ?
|
||||
"-- Another comment without placeholders: {2} nor bind variables: ?" +
|
||||
"FROM book " +
|
||||
"WHERE title = 'In a string literal, this is not a placeholder: {3}. And this is not a bind variable: ?'
|
||||
"WHERE title = 'In a string literal, this is not a placeholder: {3}. And this is not a bind variable: ?'"
|
||||
);]]></java><html>
|
||||
|
||||
<p>
|
||||
|
||||
@ -6694,9 +6694,9 @@ field("replace(substr(quote(zeroblob(({0} + 1) / 2)), 3, {0}), '0', {1})", Strin
|
||||
|
||||
</html><java><![CDATA[query(
|
||||
"SELECT /* In a comment, this is not a placeholder: {0}. And this is not a bind variable: ? */ title AS `title {1} ?` " +
|
||||
"-- Another comment without placeholders: {2} nor bind variables: ?
|
||||
"-- Another comment without placeholders: {2} nor bind variables: ?" +
|
||||
"FROM book " +
|
||||
"WHERE title = 'In a string literal, this is not a placeholder: {3}. And this is not a bind variable: ?'
|
||||
"WHERE title = 'In a string literal, this is not a placeholder: {3}. And this is not a bind variable: ?'"
|
||||
);]]></java><html>
|
||||
|
||||
<p>
|
||||
|
||||
@ -7349,9 +7349,9 @@ field("replace(substr(quote(zeroblob(({0} + 1) / 2)), 3, {0}), '0', {1})", Strin
|
||||
|
||||
</html><java><![CDATA[query(
|
||||
"SELECT /* In a comment, this is not a placeholder: {0}. And this is not a bind variable: ? */ title AS `title {1} ?` " +
|
||||
"-- Another comment without placeholders: {2} nor bind variables: ?
|
||||
"-- Another comment without placeholders: {2} nor bind variables: ?" +
|
||||
"FROM book " +
|
||||
"WHERE title = 'In a string literal, this is not a placeholder: {3}. And this is not a bind variable: ?'
|
||||
"WHERE title = 'In a string literal, this is not a placeholder: {3}. And this is not a bind variable: ?'"
|
||||
);]]></java><html>
|
||||
|
||||
<p>
|
||||
|
||||
@ -8259,9 +8259,9 @@ field("replace(substr(quote(zeroblob(({0} + 1) / 2)), 3, {0}), '0', {1})", Strin
|
||||
|
||||
</html><java><![CDATA[query(
|
||||
"SELECT /* In a comment, this is not a placeholder: {0}. And this is not a bind variable: ? */ title AS `title {1} ?` " +
|
||||
"-- Another comment without placeholders: {2} nor bind variables: ?
|
||||
"-- Another comment without placeholders: {2} nor bind variables: ?" +
|
||||
"FROM book " +
|
||||
"WHERE title = 'In a string literal, this is not a placeholder: {3}. And this is not a bind variable: ?'
|
||||
"WHERE title = 'In a string literal, this is not a placeholder: {3}. And this is not a bind variable: ?'"
|
||||
);]]></java><html>
|
||||
|
||||
<p>
|
||||
|
||||
@ -8656,9 +8656,9 @@ field("replace(substr(quote(zeroblob(({0} + 1) / 2)), 3, {0}), '0', {1})", Strin
|
||||
|
||||
</html><java><![CDATA[query(
|
||||
"SELECT /* In a comment, this is not a placeholder: {0}. And this is not a bind variable: ? */ title AS `title {1} ?` " +
|
||||
"-- Another comment without placeholders: {2} nor bind variables: ?
|
||||
"-- Another comment without placeholders: {2} nor bind variables: ?" +
|
||||
"FROM book " +
|
||||
"WHERE title = 'In a string literal, this is not a placeholder: {3}. And this is not a bind variable: ?'
|
||||
"WHERE title = 'In a string literal, this is not a placeholder: {3}. And this is not a bind variable: ?'"
|
||||
);]]></java><html>
|
||||
|
||||
<p>
|
||||
|
||||
@ -8788,9 +8788,9 @@ condition("my_column IN ({0})", list(a, b, c)); // Using a single template ar
|
||||
|
||||
</html><java><![CDATA[query(
|
||||
"SELECT /* In a comment, this is not a placeholder: {0}. And this is not a bind variable: ? */ title AS `title {1} ?` " +
|
||||
"-- Another comment without placeholders: {2} nor bind variables: ?
|
||||
"-- Another comment without placeholders: {2} nor bind variables: ?" +
|
||||
"FROM book " +
|
||||
"WHERE title = 'In a string literal, this is not a placeholder: {3}. And this is not a bind variable: ?'
|
||||
"WHERE title = 'In a string literal, this is not a placeholder: {3}. And this is not a bind variable: ?'"
|
||||
);]]></java><html>
|
||||
|
||||
<p>
|
||||
|
||||
@ -9061,9 +9061,9 @@ condition("my_column IN ({0})", list(a, b, c)); // Using a single template ar
|
||||
|
||||
</html><java><![CDATA[query(
|
||||
"SELECT /* In a comment, this is not a placeholder: {0}. And this is not a bind variable: ? */ title AS `title {1} ?` " +
|
||||
"-- Another comment without placeholders: {2} nor bind variables: ?
|
||||
"-- Another comment without placeholders: {2} nor bind variables: ?" +
|
||||
"FROM book " +
|
||||
"WHERE title = 'In a string literal, this is not a placeholder: {3}. And this is not a bind variable: ?'
|
||||
"WHERE title = 'In a string literal, this is not a placeholder: {3}. And this is not a bind variable: ?'"
|
||||
);]]></java><html>
|
||||
|
||||
<p>
|
||||
|
||||
@ -9285,9 +9285,9 @@ condition("my_column IN ({0})", list(a, b, c)); // Using a single template ar
|
||||
|
||||
</html><java><![CDATA[query(
|
||||
"SELECT /* In a comment, this is not a placeholder: {0}. And this is not a bind variable: ? */ title AS `title {1} ?` " +
|
||||
"-- Another comment without placeholders: {2} nor bind variables: ?
|
||||
"-- Another comment without placeholders: {2} nor bind variables: ?" +
|
||||
"FROM book " +
|
||||
"WHERE title = 'In a string literal, this is not a placeholder: {3}. And this is not a bind variable: ?'
|
||||
"WHERE title = 'In a string literal, this is not a placeholder: {3}. And this is not a bind variable: ?'"
|
||||
);]]></java><html>
|
||||
|
||||
<p>
|
||||
|
||||
@ -9419,9 +9419,9 @@ condition("my_column IN ({0})", list(a, b, c)); // Using a single template ar
|
||||
|
||||
</html><java><![CDATA[query(
|
||||
"SELECT /* In a comment, this is not a placeholder: {0}. And this is not a bind variable: ? */ title AS `title {1} ?` " +
|
||||
"-- Another comment without placeholders: {2} nor bind variables: ?
|
||||
"-- Another comment without placeholders: {2} nor bind variables: ?" +
|
||||
"FROM book " +
|
||||
"WHERE title = 'In a string literal, this is not a placeholder: {3}. And this is not a bind variable: ?'
|
||||
"WHERE title = 'In a string literal, this is not a placeholder: {3}. And this is not a bind variable: ?'"
|
||||
);]]></java><html>
|
||||
|
||||
<p>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user