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: content/en/docs/_index.md
+11-13
Original file line number
Diff line number
Diff line change
@@ -14,24 +14,22 @@ It combines the power of **SQL** with the versatility of **documents** to provid
14
14
15
15
Here is a list of Genji's main features:
16
16
17
-
-**Optional schemas**: Genji tables are schemaless, but it is possible to add constraints on any field to ensure the coherence of data within a table.
18
-
-**Multiple Storage Engines**: It is possible to store data on disk or in ram, but also to choose between B-Trees and LSM trees. Genji relies on [BoltDB](https://github.com/etcd-io/bbolt) and [Badger](https://github.com/dgraph-io/badger) to manage data.
19
-
-**Transaction support**: Read-only and read/write transactions are supported by default.
20
-
-**SQL and Documents**: Genji mixes the best of both worlds by combining powerful SQL commands with JSON _dot notation_.
21
-
-**Easy to use, easy to learn**: Genji was designed for simplicity in mind. It is really easy to insert and read documents of any shape.
17
+
-**SQL and documents**: Use a powerful SQL language designed for documents as first-class citizen.
18
+
-**Flexible schemas**: Define your table with strict schemas, partial schemas, or no schemas at all.
19
+
-**Transaction support**: Fully serializable transactions with multiple readers and single writer. Readers don't block writers and writers don't block readers.
22
20
23
21
## Concepts
24
22
25
23
Genji's main concepts are not new and semantics have been chosen to match as much as possible what is already existing in other databases:
26
24
27
-
| Classic SQL databases | Genji |
28
-
| --------------------- | -----------------|
29
-
| Table | Table |
30
-
|Row| Document |
31
-
|Column| Field |
32
-
|Schema| Field constraints|
25
+
| Classic SQL databases | Genji |
26
+
| --------------------- | -------- |
27
+
| Table | Table |
28
+
|Schema| Schema|
29
+
|Row| Document|
30
+
|Column| Field |
33
31
34
-
-**Table**: A collection of documents. Tables are schemaless by default and support optional
32
+
-**Table**: A collection of documents
33
+
-**Schema**: A list of constraints that apply on all or certain fields of every documents of the table.
35
34
-**Document**: A list of fields
36
35
-**Field**: A key-value pair
37
-
-**Field constraint**: A constraint validated against a field of every inserted or updated document
Copy file name to clipboardexpand all lines: content/en/docs/getting-started.md
+3-15
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@ description: >
9
9
10
10
## Prerequisites
11
11
12
-
Genji requires at least Go 1.16.
12
+
Genji requires at least Go 1.18.
13
13
14
14
## Installation
15
15
@@ -41,22 +41,10 @@ genji
41
41
42
42
You can then enter your [SQL queries]({{< relref "/getting-started" >}}) directly in the shell.
43
43
44
-
It is also possible to create an on-disk database, using either [BoltDB](https://github.com/etcd-io/bbolt) or [Badger](https://github.com/dgraph-io/badger).
45
-
46
-
### On-disk database using BoltDB
47
-
48
-
Run the `genji` command followed by the name of the database file of your choice.
49
-
50
-
```bash
51
-
genji my.db
52
-
```
53
-
54
-
### On-disk database using Badger
55
-
56
-
Run the following command by replacing `pathToDBDir` by the directory of your choice.
44
+
It is also possible to create an on-disk database by specifying a directory:
0 commit comments