typedb / typedb-console

TypeDB Console: CLI for TypeDB and TypeDB Cluster
https://typedb.com
Mozilla Public License 2.0
7 stars 16 forks source link

Allow unicode TypeQL variables #228

Closed flyingsilverfin closed 10 months ago

flyingsilverfin commented 10 months ago

Usage and product changes

We update to the latest TypeQL, which supports unicode variables. This means TypeDB Console can now use unicode variables, as well as labels and string attribute values.

For example, we can use Mandarin character sets:

test::schema::write> define 人 sub entity;

Concepts have been defined

test::schema::write*> commit
Transaction changes committed
> transaction test data write
test::data::write> insert $人 isa 人; 

{ $人 iid 0x826e80017fffffffffffffff isa 人; }

answers: 1, total duration: 102 ms

test::data::write*> commit
Transaction changes committed
> transaction test data read
test::data::read> match $人 isa 人; get;

{ $人 iid 0x826e80018000000000000000 isa 人; }

answers: 1, total duration: 54 ms

Implementation

typedb-bot commented 10 months ago

PR Review Checklist

Do not edit the content of this comment. The PR reviewer should simply update this comment by ticking each review item below, as they get completed.


Trivial Change

Code

Architecture