From 936ee2d66dc7e1194ccb73386ee13c29ff66ad8e Mon Sep 17 00:00:00 2001 From: Timm Fitschen <t.fitschen@indiscale.com> Date: Mon, 21 Nov 2022 16:47:44 +0100 Subject: [PATCH] DOC: update docs for new behavior of FIND queries --- src/doc/tutorials/complex_data_models.rst | 5 +++-- src/doc/tutorials/first_steps.rst | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/doc/tutorials/complex_data_models.rst b/src/doc/tutorials/complex_data_models.rst index 0fa868e7..7b45b6a2 100644 --- a/src/doc/tutorials/complex_data_models.rst +++ b/src/doc/tutorials/complex_data_models.rst @@ -69,8 +69,9 @@ Examples c.insert() # Useful for testing: wait until the user presses a key - # Meanwhile have a look at the WebUI: You can e.g. query "FIND Test*" to view - # all the entities created here and see the relations and links between them. + # Meanwhile have a look at the WebUI: You can e.g. query "FIND ENTITY Test*" + # to view all the entities created here and see the relations and links + # between them. b = input("Press any key to cleanup.") # cleanup everything after the user presses any button. c.delete() diff --git a/src/doc/tutorials/first_steps.rst b/src/doc/tutorials/first_steps.rst index 486cd4d4..7366d391 100644 --- a/src/doc/tutorials/first_steps.rst +++ b/src/doc/tutorials/first_steps.rst @@ -25,7 +25,7 @@ However, you can also translate the examples to the data model that you have at Let's start with a simple query. ->>> response = db.execute_query("FIND RECORD Guitar") +>>> response = db.execute_query("FIND Guitar") Queries work the same way as in the web interface. You simply provide the query string to the corresponding function (``db.execute_query``). However, the result is not -- GitLab