Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
caosdb-pylib
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
caosdb
Software
caosdb-pylib
Commits
936ee2d6
Verified
Commit
936ee2d6
authored
2 years ago
by
Timm Fitschen
Browse files
Options
Downloads
Patches
Plain Diff
DOC: update docs for new behavior of FIND queries
parent
86722bad
Branches
Branches containing commit
Tags
Tags containing commit
2 merge requests
!96
Release 0.11.2
,
!82
DOC: F find query
Checking pipeline status
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/doc/tutorials/complex_data_models.rst
+3
-2
3 additions, 2 deletions
src/doc/tutorials/complex_data_models.rst
src/doc/tutorials/first_steps.rst
+1
-1
1 addition, 1 deletion
src/doc/tutorials/first_steps.rst
with
4 additions
and
3 deletions
src/doc/tutorials/complex_data_models.rst
+
3
−
2
View file @
936ee2d6
...
@@ -69,8 +69,9 @@ Examples
...
@@ -69,8 +69,9 @@ Examples
c.insert()
c.insert()
# Useful for testing: wait until the user presses a key
# 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
# Meanwhile have a look at the WebUI: You can e.g. query "FIND ENTITY Test*"
# all the entities created here and see the relations and links between them.
# to view all the entities created here and see the relations and links
# between them.
b = input("Press any key to cleanup.")
b = input("Press any key to cleanup.")
# cleanup everything after the user presses any button.
# cleanup everything after the user presses any button.
c.delete()
c.delete()
This diff is collapsed.
Click to expand it.
src/doc/tutorials/first_steps.rst
+
1
−
1
View file @
936ee2d6
...
@@ -25,7 +25,7 @@ However, you can also translate the examples to the data model that you have at
...
@@ -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.
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
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
query string to the corresponding function (``db.execute_query``). However, the result is not
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment