When inserting data via typedb-console we always should keep in mind that commands shouldn't be terminated with ';', while TypeQL queries should be terminated with ';'
transaction typedb-cloud data write
insert "testuser2" isa user;
commit
Current Workaround
Keep in mind that we shouldn't use ';' for commands (transaction, commit etc.)
Proposed Solution
It would be nice to make it consistent (to ask ';' everywhere, or allow queries and commands to be not terminated)
Additional Information
If I forgot and typed ';' for the command (say "transaction"), misleading error is shown:
transaction typedb-cloud data write;
Unrecognised command, please check help menu
Problem to Solve
When inserting data via typedb-console we always should keep in mind that commands shouldn't be terminated with ';', while TypeQL queries should be terminated with ';'
Current Workaround
Keep in mind that we shouldn't use ';' for commands (transaction, commit etc.)
Proposed Solution
It would be nice to make it consistent (to ask ';' everywhere, or allow queries and commands to be not terminated)
Additional Information
If I forgot and typed ';' for the command (say "transaction"), misleading error is shown: