NPM-README.md 1.4 KB

Building blocks providing a smart SQL Cloud Editor based on http://gethue.com/.

Install

npm install --save gethue

SQL Scratchpad

The shareable lightweight SQL Editor also called "SQL Scratchpad" comes as its own <sql-scratchpad /> Web component. Read more on its documentation.

<!DOCTYPE html>
<html>

<head>
  <title>SQL Scratchpad</title>
  <script type="text/javascript" src="./node_modules/gethue/lib/components/SqlScratchpadWebComponent.js"></script>
</head>

<body>
  <div style="position: absolute; height: 100%; width: 100%">
    <sql-scratchpad api-url="http://localhost:8005" username="demo" password="demo" dialect="mysql" />
  </div>
</body>

</html>

SQL Parsers

The parsers are the flagship part of Hue and power extremely advanced autocompletes and other SQL functionalities. They are running on the client side and provide a very reactive experience to the end user.

Please refer the SQL Parser Documentation, or this demo app for more information.