Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
caosdb-proto
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
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-proto
Commits
bbab921f
Commit
bbab921f
authored
2 years ago
by
Timm Fitschen
Browse files
Options
Downloads
Plain Diff
Merge branch 'f-grpc-select' into 'dev'
WIP: SELECT for GRPC API See merge request
!9
parents
0b301401
13d083b8
Branches
Branches containing commit
Tags
Tags containing commit
2 merge requests
!10
Release 0.3
,
!9
WIP: SELECT for GRPC API
Pipeline
#30864
passed
2 years ago
Stage: test
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
CHANGELOG.md
+2
-0
2 additions, 0 deletions
CHANGELOG.md
proto/caosdb/entity/v1/main.proto
+21
-6
21 additions, 6 deletions
proto/caosdb/entity/v1/main.proto
with
23 additions
and
6 deletions
CHANGELOG.md
+
2
−
0
View file @
bbab921f
...
@@ -10,6 +10,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
...
@@ -10,6 +10,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Added
### Added
*
Messages for the Result of
`SELECT`
queries.
### Changed
### Changed
### Deprecated
### Deprecated
...
...
This diff is collapsed.
Click to expand it.
proto/caosdb/entity/v1/main.proto
+
21
−
6
View file @
bbab921f
...
@@ -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
SelectQuery
Rows
header
=
1
;
SelectQuery
Header
header
=
3
;
// The actual results
// The actual results
repeated
SelectQueryRow
s
data_rows
=
2
;
repeated
SelectQueryRow
data_rows
=
4
;
}
}
///////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////
...
...
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