Installing Query

To start working with Query you need to take the following steps:

  1. Link the necessary CSS/JS files to the page;
  2. Call the object constructor.

Files to include

There are 4 files to include:

Files to work with Query

<!-- js files -->
<script src="codebase/webix.js" type="text/javascript"></script>
<script type="text/javascript" src="codebase/query.js"></script>
<!-- css files -->
<link rel="stylesheet" href="codebase/webix.css" type="text/css">
<link rel="stylesheet" type="text/css" href="codebase/query.css" />

See the next chapter to learn how to create Query on a page.

Starting a Backend Server

We provide backend code for Query with SQL generation inside.

Using NodeJS Backend

To get the NodeJS backend for Query clone the repo, configure DB connection and provided DB dump (dump.sql). After that run the code as:

npm install
node index.js

Using Golang Backend

To get the Golang backend for Query, clone the repo, configure DB connection and provided DB dump (dump.sql). After that run the code as:

go build
 
./query
Back to top