Skip to content
Snippets Groups Projects
Verified Commit c2ff7cb9 authored by Daniel Hornung's avatar Daniel Hornung
Browse files

DOC: update docs for new behavior of FIND queries (more)

parent 936ee2d6
No related branches found
No related tags found
2 merge requests!96Release 0.11.2,!82DOC: F find query
Checking pipeline status
......@@ -60,7 +60,7 @@ it using its high level representation:
from caosdb.high_level_api import query
res = query("FIND Record Experiment")
res = query("FIND Experiment")
experiment = res[0]
# Use a property:
print(experiment.date)
......@@ -80,7 +80,7 @@ series of commands to achieve the same result:
import caosdb as db
res = db.execute_query("FIND Record Experiment")
res = db.execute_query("FIND Experiment")
output = res.get_property("output")
output_file = db.File(id=output.value[0].id).retrieve()
print(output_file.path)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment