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
Download from TypeDB Package Repository: https://cloudsmith.io/~typedb/repos/public-release/packages/?q=name:^typedb-console+version:3.2.0
3
+
Download from TypeDB Package Repository: https://cloudsmith.io/~typedb/repos/public-release/packages/?q=name:^typedb-console+version:3.4.0-rc0
4
4
5
5
6
6
## New Features
7
-
-**Add database 'schema' command to retrieve the database schema**
8
-
9
-
10
-
-**Increase transaction timeout**
11
-
Set transaction timeout for opened transactions to 1 hour.
12
-
13
-
This change significantly lowers the impact of https://github.com/typedb/typedb-console/issues/287.
14
-
7
+
-**Introduce database export and import**
8
+
Add database export and database import operations.
15
9
16
-
-**Improve multiline query support**
17
-
18
-
We improve multi-line query support to allow copy-pasting queries and scripts containing empty newlines. In particular this makes pasting entire schema definitions from files.
19
-
20
-
For example, pasting a console script opening a transaction, defining a schema containing newlines, and committing, is now possible:
10
+
Database export saves the database information (its schema and data) on the client machine as two files at provided locations:
21
11
```
22
-
>> transaction schema test
23
-
define
24
-
entity person; # newlines are allowed in pasted scripts:
Pasted query pipelines may now be ambiguous, such as the following example which by defaults executs a single "match-insert" query, even though there are newlines:
47
-
```
48
-
> transaction schema test
49
-
match $x isa person;
50
-
51
-
insert $y isa person;
52
-
53
-
commit
54
-
```
55
-
56
-
To make this a "match" query and a separate "insert" query, we must use the `end;` markers:
57
-
```
58
-
> transaction schema test
59
-
match $x isa person;
60
-
end;
61
-
62
-
insert $y isa person;
63
-
end;
64
-
65
-
commit
66
-
```
67
-
68
-
**Note that now `end` is a reserved keyword and cannot be used as a type!**
69
-
70
-
21
+
22
+
23
+
-**Support relative script and source commands**
24
+
25
+
We support using relative paths for the `--script` command (relative to the current directory), as well as relative paths for the REPL `source` command.
26
+
27
+
When `source` is invoked _from_ a script, the sourced file is relativised to the script, rather than the current working directory.
28
+
29
+
71
30
72
31
## Bugs Fixed
73
32
@@ -76,8 +35,4 @@ Download from TypeDB Package Repository: https://cloudsmith.io/~typedb/repos/pub
76
35
77
36
78
37
## Other Improvements
79
-
80
-
-**Update typedb-driver dependency for token-based authentication**
0 commit comments