Sha256: 742fd48d01f025258bb76f005daa0f2eb8693b2f85b82a58f850ecd15348599c

Contents?: true

Size: 1.11 KB

Versions: 49

Compression:

Stored size: 1.11 KB

Contents

<!doctype html>
<html>
  <head>
    <title>CodeMirror: MySQL mode</title>
    <link rel="stylesheet" href="../../lib/codemirror.css">
    <script src="../../lib/codemirror.js"></script>
    <script src="mysql.js"></script>
    <style>.CodeMirror {border-top: 1px solid black; border-bottom: 1px solid black;}</style>
    <link rel="stylesheet" href="../../doc/docs.css">
  </head>
  <body>
    <h1>CodeMirror: MySQL mode</h1>
    <form><textarea id="code" name="code">
-- Comment for the code
-- MySQL Mode for CodeMirror2 by MySQLTools http://github.com/partydroid/MySQL-Tools
SELECT  UNIQUE `var1` as `variable`,
        MAX(`var5`) as `max`,
        MIN(`var5`) as `min`,
        STDEV(`var5`) as `dev`
FROM `table`

LEFT JOIN `table2` ON `var2` = `variable`

ORDER BY `var3` DESC
GROUP BY `groupvar`

LIMIT 0,30;

</textarea></form>
    <script>
      var editor = CodeMirror.fromTextArea(document.getElementById("code"), {
        mode: "text/x-mysql",
        tabMode: "indent",
        matchBrackets: true
      });
    </script>

    <p><strong>MIME types defined:</strong> <code>text/x-mysql</code>.</p>

  </body>
</html>

Version data entries

49 entries across 49 versions & 4 rubygems

Version Path
omf_web-1.2.9 share/htdocs/vendor/CodeMirror-2.32/mode/mysql/index.html
omf_web-1.2.8 share/htdocs/vendor/CodeMirror-2.32/mode/mysql/index.html
omf_web-1.2.7 share/htdocs/vendor/CodeMirror-2.32/mode/mysql/index.html
omf_web-1.2.6 share/htdocs/vendor/CodeMirror-2.32/mode/mysql/index.html
omf_web-1.2.5 share/htdocs/vendor/CodeMirror-2.32/mode/mysql/index.html
omf_web-1.2.4 share/htdocs/vendor/CodeMirror-2.32/mode/mysql/index.html
omf_web-1.2.3 share/htdocs/vendor/CodeMirror-2.32/mode/mysql/index.html
omf_web-1.2.2 share/htdocs/vendor/CodeMirror-2.32/mode/mysql/index.html
omf_web-1.2.1 share/htdocs/vendor/CodeMirror-2.32/mode/mysql/index.html
omf_web-1.2.0 share/htdocs/vendor/CodeMirror-2.32/mode/mysql/index.html
omf_web-1.0.0 share/htdocs/vendor/CodeMirror-2.32/mode/mysql/index.html
burp_cms-1.3.13 app/assets/packages/burp/editing/dep/CodeMirror-2.3/mode/mysql/index.html
burp_cms-1.3.12 app/assets/packages/burp/editing/dep/CodeMirror-2.3/mode/mysql/index.html
burp_cms-1.3.11 app/assets/packages/burp/editing/dep/CodeMirror-2.3/mode/mysql/index.html
burp_cms-1.3.10 app/assets/packages/burp/editing/dep/CodeMirror-2.3/mode/mysql/index.html
burp_cms-1.3.9 app/assets/packages/burp/editing/dep/CodeMirror-2.3/mode/mysql/index.html
burp_cms-1.3.8 app/assets/packages/burp/editing/dep/CodeMirror-2.3/mode/mysql/index.html
omf_web-0.9.9 share/htdocs/vendor/CodeMirror-2.32/mode/mysql/index.html
omf_web-0.9.8 share/htdocs/vendor/CodeMirror-2.32/mode/mysql/index.html
burp_cms-1.3.7 app/assets/packages/burp/editing/dep/CodeMirror-2.3/mode/mysql/index.html