Skip to content

Commit 648bcb8

Browse files
committed
Updated sections on client usage
1 parent 2b1cc52 commit 648bcb8

File tree

2 files changed

+27
-10
lines changed

2 files changed

+27
-10
lines changed

docs/1.index.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,10 @@ We recommend you to follow the guide in this sequence (but feel free to skip any
2727
- [**Deployment**](deployment): An useful guide for deploying
2828
- [**Limits**](limits): An useful guide on system limits
2929

30+
## Client drivers
31+
32+
Looking to integrate Skytable in your application? Great! [Find a driver for your language/framework here](libraries).
33+
3034
## Getting help
3135

3236
We have a collection of resources [on this page](resources/overview). If you need in help in real-time, we recommend that you join our [Discord Community](https://discord.gg/QptWFdx) where you can get help directly from the developers and our community members.

docs/3.using-repl.md

Lines changed: 23 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -61,11 +61,7 @@ CREATE SPACE myspace
6161
Let us create a `model`. We want to store something that resembles the structure:
6262

6363
```json
64-
{
65-
"username": "string username",
66-
"password": "string password",
67-
"notes": [],
68-
}
64+
{"username": "string username", "password": "string password", "notes": []}
6965
```
7066

7167
To do this, we create the following Skytable model:
@@ -76,8 +72,25 @@ CREATE MODEL myspace.mymodel(username: string, password: string, notes: list { t
7672

7773
### Add, update and remove some data
7874

79-
```sql
80-
INSERT INTO myspace.mymodel('sayan', 'password123', [])
81-
UPDATE myspace.mymodel SET notes += "mynewnote" WHERE username = 'sayan'
82-
SELECT notes, password FROM myspace.mymodel WHERE username = 'sayan'
83-
```
75+
- **Insert some data**:
76+
```sql
77+
INSERT INTO myspace.mymodel('sayan', 'password123', [])
78+
```
79+
- **Update some data**:
80+
```sql
81+
UPDATE myspace.mymodel SET notes += "mynewnote" WHERE username = 'sayan'
82+
```
83+
- **Select some data**:
84+
```sql
85+
SELECT notes, password FROM myspace.mymodel WHERE username = 'sayan'
86+
```
87+
88+
## Use in your own apps
89+
90+
While we would recommend you to learn BlueQL and more about Skytable's architecture by using the REPL, you can always start using Skytable
91+
in your own apps. [Find a client driver for your language or framework here](libraries).
92+
93+
Once you've found the driver for your framework, you can come back here and follow on with the guide. Be sure to check the driver's
94+
documentation to see how the client driver should be used.
95+
96+
Good luck!

0 commit comments

Comments
 (0)