Skip to content
Snippets Groups Projects

DOC: Make `make conan` more prominent.

Merged Daniel Hornung requested to merge f-doc-make-conan into dev
2 files
+ 10
7
Compare changes
  • Side-by-side
  • Inline
Files
2
+ 9
6
@@ -19,6 +19,7 @@ You can print the full version of the server that you are connected to (and
therby test the connection) via:
.. code:: cpp
// get version info of the server
connection.RetrieveVersionInfo()
const auto &v_info = connection->GetVersionInfo();
@@ -57,8 +58,9 @@ you want to retrieve an Entity with id=123. This is done via
You can then use the getter methods like :cpp:any:`GetId<caosdb::entity::Entity::GetId>`,
:cpp:any:`GetParents<caosdb::entity::Entity::GetParents>`, or :cpp:any:`GetProperties`<caosdb::entity::Entity::GetProperties>` to get the
name, the parents, or the properties of the retrieved entity.
:cpp:any:`GetParents<caosdb::entity::Entity::GetParents>`, or
:cpp:any:`GetProperties`<caosdb::entity::Entity::GetProperties>` to get the name, the parents, or
the properties of the retrieved entity.
Retrieving multiple entities works in the same way. Type
@@ -83,9 +85,9 @@ transaction manually. This is done by
transaction->RetrieveById("1233");
auto status = transaction->Execute();
A result set can be obtained
via :cpp:any:`GetResultSet`<caosdb::transaction::Transaction::GetResultSet>` which contains the resulting entities
and can, e.g., be checked for length.
A result set can be obtained via
:cpp:any:`GetResultSet`<caosdb::transaction::Transaction::GetResultSet>` which contains the
resulting entities and can, e.g., be checked for length.
Execute queries
---------------
@@ -147,6 +149,7 @@ Insert, update and delete operations function the same way. The respective
task is added to a transaction and the transaction is executed.
.. code:: cpp
const auto &connection =
caosdb::connection::ConnectionManager::GetDefaultConnection();
@@ -202,7 +205,7 @@ task is added to a transaction and the transaction is executed.
Up- and Download a file
---------------
-----------------------
.. code:: cpp
Loading