You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/a.installation.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,7 +20,7 @@ However, we strongly recommend **not** using it outside testing environments.
20
20
21
21
To use native binaries you need to download a bundle which is simply a ZIP file with all the necessary binaries that you'll ever need to develop on and deploy Skytable.
22
22
23
-
1.**First download the latest bundle** for your platform. You can find [download links on the releases page](https://github.com/skytable/skytable/releases/v0.8.3).
23
+
1.**First download the latest bundle** for your platform. You can find [download links on the releases page](https://github.com/skytable/skytable/releases/v0.8.4).
24
24
2.**Unzip the ZIP file**. You'll find the following binaries in the extracted archive:
25
25
-`skyd`: This is the database server binary which when started runs as a daemon, serving requests
26
26
-`skysh`: This is the Skytable shell and it provides a very helpful interactive REPL database client
@@ -72,7 +72,7 @@ The package will:
72
72
2. **Start the container**:
73
73
74
74
```shell
75
-
docker run -d --name skydb -p 2003:2003 skytable/skytable:v0.8.3
75
+
docker run -d --name skydb -p 2003:2003 skytable/skytable:v0.8.4
76
76
```
77
77
78
78
:::tip
@@ -85,14 +85,14 @@ message with the generated password.
85
85
1. **Download the bundle**: To be able to run queries you need to download the bundle as described above
86
86
2. **Create the data directory**: To ensure that our database is persistent and all our data doesn't vanish as soon as the container is terminated, we'll map the data directory to an actual directory on our local system.
87
87
>**Note:** Create a folder called `skytable`in a convenient location. We recommend having a directory in`$HOME/docker-containers` where you can store the Skytable container's data and any other containers that you might use. It's a great way to keep things organized.
88
-
3. **Create your configuration**: [Download this template file](https://raw.githubusercontent.com/skytable/skytable/v0.8.3/examples/config-files/template.yaml) and place it into the directory you created. Update the password with your `root` password of choice.
88
+
3. **Create your configuration**: [Download this template file](https://raw.githubusercontent.com/skytable/skytable/v0.8.4/examples/config-files/template.yaml) and place it into the directory you created. Update the password with your `root` password of choice.
Copy file name to clipboardExpand all lines: docs/blueql/1.overview.md
+11-3Lines changed: 11 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,7 @@ id: overview
6
6
In this document we explore some of the meta parts of BlueQL. If you want to look at how you can use BlueQL, consider looking at the sections that follow.
7
7
8
8
Design principles:
9
+
9
10
-**Simplicity and clarity**: The language shouldn't be overwhelming to understand
10
11
-**Security with mandatory parameterization**: We want to reduce the surface of injection attacks. For this reason, [parameterization is mandatory](#parameters).
11
12
@@ -18,17 +19,18 @@ Just like SQL, BlueQL has three categories of commands/queries inside it:
18
19
Jump to [differences from SQL](#differences-from-sql).
19
20
20
21
:::info
21
-
This text is *not* a detailed, formal guide. It's meant for developers and users who want to work with
22
-
Skytable. If you need a more formal specification, like a grammar definition, please ask us, and we'll create
22
+
This text is *not* a detailed, formal guide. It's meant for developers and users who want to work with
23
+
Skytable. If you need a more formal specification, like a grammar definition, please ask us, and we'll create
23
24
it. We haven't published it yet because no one has requested it.
24
25
:::
25
26
26
27
## Identifiers
28
+
27
29
Can begin with any ASCII alphabet or an underscore (`_`) and then have any number of alphanumeric characters and/or underscores.
28
30
29
31
## Keywords
30
32
31
-
Keywords are identifiers with special meanings and hence can't be used as identifiers in other places. Here's a full-list of
33
+
Keywords are identifiers with special meanings and hence can't be used as identifiers in other places. Here's a full-list of
32
34
keywords:
33
35
34
36
```ts
@@ -45,6 +47,7 @@ keywords:
45
47
## Data types
46
48
47
49
### Boolean
50
+
48
51
A boolean value, either `true` or `false`
49
52
50
53
### Unsigned integers
@@ -75,9 +78,11 @@ A boolean value, either `true` or `false`
75
78
76
79
-`list`: a list of any of the data types, including nested lists
77
80
- A list is represented as: `[]` with values inbetween. For example, a `list { type:string }` would be represented as:
81
+
78
82
```sql
79
83
["sayan", "loves", "dogs"]
80
84
```
85
+
81
86
-**Lists cannot contain nullvalues**
82
87
-**List can be nested**: You can have heavily nested lists like: `[[[]], [["another one"]]]`
83
88
-**List can only have one base type**: This means that if you have a list like`[[[string]]]` each element must either be the same nested list, or an empty list
@@ -100,6 +105,7 @@ New data types are frequently added, so treat this list as non-exhaustive.
100
105
101
106
:::warning Literals are not available everywhere
102
107
It is very important for you to know that literals are not allowed everywhere. The only literals allowed everywhere are:
108
+
103
109
- Lists
104
110
- Dictionaries
105
111
@@ -150,6 +156,7 @@ On a final note, BlueQL doesn't support comments of any form also for security r
150
156
## DDL
151
157
152
158
Queries include:
159
+
153
160
- Spaces:
154
161
-`CREATE SPACE myspace [WITH { property: value, ... }]`
155
162
-`ALTER SPACE myspace [WITH { property: updated_value, ... }]`
@@ -172,6 +179,7 @@ Queries include:
172
179
## DCL
173
180
174
181
Queries include:
182
+
175
183
-`SYSCTL REPORT STATUS`: returns the status of the system. (Not a control query per se)
176
184
-`SYSCTL CREATE USER "username" WITH { password: ... }`: create a new user
177
185
-`SYSCTL DROP USER "username"`: removes the user in question
0 commit comments