Skip to content
Snippets Groups Projects
Commit c6405e53 authored by Florian Spreckelsen's avatar Florian Spreckelsen
Browse files

Merge branch 'release-0.3' into 'main'

Release 0.3

See merge request !10
parents c439aa40 d167382e
Branches
Tags v0.3.0
1 merge request!10Release 0.3
Pipeline #32838 passed
...@@ -5,6 +5,14 @@ All notable changes to this project will be documented in this file. ...@@ -5,6 +5,14 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [0.3] - 2023-01-19
(Florian Spreckelsen)
### Added
* Messages for the Result of `SELECT` queries.
## [0.2] - 2022-03-25 ## [0.2] - 2022-03-25
(Timm Fitschen) (Timm Fitschen)
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
cmake_minimum_required(VERSION 3.13) cmake_minimum_required(VERSION 3.13)
set(CAOSDB_PROTO_VERSION 0.2.0) set(CAOSDB_PROTO_VERSION 0.3.0)
project("caosdb-proto" project("caosdb-proto"
VERSION ${CAOSDB_PROTO_VERSION} VERSION ${CAOSDB_PROTO_VERSION}
......
...@@ -19,11 +19,17 @@ guidelines of the CaosDB Project ...@@ -19,11 +19,17 @@ guidelines of the CaosDB Project
3. Check all general prerequisites. 3. Check all general prerequisites.
4. Prepare [CMakeLists.txt](./CMakeLists.txt): Check the `MAJOR`, `MINOR`, `PATCH` 4. Prepare [CMakeLists.txt](./CMakeLists.txt): Check the `CAOSDB_PROTO_VERSION`
version variables. version variable.
5. Merge the release branch into the main branch. 5. Merge the release branch into the main branch.
6. Tag the latest commit of the main branch with `v<VERSION>`. 6. Tag the latest commit of the main branch with `v<VERSION>`.
7. Delete the release branch. 7. Delete the release branch.
8. Prepare the next release cycle by updating
[CMakeLists.txt](./CMakeLists.txt) - bump the version number of
`CAOSDB_PROTO_VERSION` to the next minor number.
9. Create release on gitlab.indiscale.com and gitlab.com
...@@ -539,17 +539,32 @@ message FindQueryResult { ...@@ -539,17 +539,32 @@ message FindQueryResult {
} }
// A single result row of a SELECT query // A single result row of a SELECT query
message SelectQueryRows { message SelectQueryRow {
// The cells of the table row. // The cells of the table row contain the value of the SELECT'ed fields. The
repeated string cells = 1; // order of the cells follows the order of the columns of the
// SelectQueryHeader.
repeated Value cells = 2;
}
// A single header column of the result of a SELECT query
message SelectQueryColumn {
// The column name. This is one of the SELECT'ed fields.
string name = 1;
}
// The header line of the result of a SELECT query
message SelectQueryHeader {
// List of columns in this table. The order defines the order of the cells in
// each of the SelectQueryRows.
repeated SelectQueryColumn columns = 1;
} }
// A table which is a result of a SELECT query // A table which is a result of a SELECT query
message SelectQueryResult { message SelectQueryResult {
// A single row which contains the SELECT'ed fields // The header contains the SELECT'ed fields
SelectQueryRows header = 1; SelectQueryHeader header = 3;
// The actual results // The actual results
repeated SelectQueryRows data_rows = 2; repeated SelectQueryRow data_rows = 4;
} }
/////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment