Building blocks providing a smart SQL Cloud Editor based on gethue.com.
npm install --save gethue
The shareable lightweight SQL Editor also called "SQL Scratchpad" comes as its own <sql-scratchpad />
Web component. Play with a live demo and read more in 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="https://demo.gethue.com" username="demo" password="demo" dialect="mysql" />
</div>
</body>
</html>
The parsers are the flagship part of Hue and power extremely advanced autocompletes and other SQL functionalities.
Play with a live demo and read more in their documentation.