Skip to content
Snippets Groups Projects
Verified Commit ce6c7628 authored by Timm Fitschen's avatar Timm Fitschen
Browse files

DOC: update refs in CaosDB-Query-Language.md

parent c78e268c
Branches
Tags
2 merge requests!96DOC: Added CITATION.cff to the list of files in the release guide where the...,!71F find query
Pipeline #30817 passed
# CaosDB Query Language Examples
See syntax specification in :doc:`CaosDB Query Language Syntax<query-syntax>`.
See syntax specification in [CaosDB Query Language Syntax](query-syntax).
## Simple FIND Query
......@@ -405,6 +405,15 @@ Since Caosdb 0.2 entities are optionally version controlled. The query language
* Add `(ANY|LATEST|LAST|OLDEST|NEWEST|FIRST) VERSION (BEFORE|AFTER) (<timestamp>|<transaction id>|<entity@version>) OF` modifier.
* Add support for subproperties, e.g. `FIND ANY VERSION OF ENTITY WHICH IS REFERENCED BY ename WITH ...`.
## Configuration
In CaosDB Server implementations before version 0.9.0, the `FIND ename` query
would return any entity with that name and all children, regardless of the
entity's role. Basically, `FIND ename` *was* equivalent to `FIND ENTITY ename`.
Since 0.9.0 the default behavior has changed and now `FIND ename` is equivalent
to `FIND RECORD ename`. This default is, however, configurable via the
`FIND_QUERY_DEFAULT_ROLE` server property. See [Server Configuration](./administration/configuration.rst).
## Future
* *Sub Queries* (or *Sub Properties*): `FIND ename WHICH HAS A pname WHICH HAS A subpname=val`. This is like: `FIND AN experiment WHICH HAS A camera WHICH HAS A 'serial number'= 1234567890`
......
......@@ -11,15 +11,14 @@ Welcome to caosdb-server's documentation!
Getting started <README_SETUP>
Concepts <concepts>
tutorials
Query Language Examples <CaosDB-Query-Language>
Query Language Syntax <query-syntax>
Query Language <CaosDB-Query-Language>
administration
Development <development/devel>
Dependencies <DEPENDENCIES>
Changelog <CHANGELOG>
specification/index.rst
Glossary
API documentation<_apidoc/packages>
Server Internals<_apidoc/packages>
Welcome to the CaosDB, the flexible semantic data management toolkit!
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment