Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
caosdb-cpplib
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-cpplib
Commits
8d56a257
Verified
Commit
8d56a257
authored
3 years ago
by
Timm Fitschen
Browse files
Options
Downloads
Patches
Plain Diff
WIP: insert delete
parent
32c34cd6
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!4
ENH: Allow insertion and deletion of single entities
Pipeline
#10944
passed
3 years ago
Stage: info
Stage: setup
Stage: test
Stage: deploy
Pipeline: caosdb-cppinttest
#10947
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
proto
+1
-1
1 addition, 1 deletion
proto
src/caosdb/transaction.cpp
+1
-1
1 addition, 1 deletion
src/caosdb/transaction.cpp
with
2 additions
and
2 deletions
proto
@
d7c971a3
Compare
8febce70
...
d7c971a3
Subproject commit
8febce70a96b3322d61a74e4567ade8b33f75369
Subproject commit
d7c971a329fcb4ead0b487aa1209b270c54ef541
This diff is collapsed.
Click to expand it.
src/caosdb/transaction.cpp
+
1
−
1
View file @
8d56a257
...
...
@@ -146,7 +146,7 @@ auto Transaction::InsertEntity(Entity *entity) -> void {
}
auto
*
sub_request
=
this
->
request
->
add_requests
();
auto
*
proto_entity
=
sub_request
->
mutable_insert_request
()
->
mutable_entity
()
;
auto
*
proto_entity
=
sub_request
->
mutable_insert_request
();
// swap and switch
entity
->
Switch
(
proto_entity
);
...
...
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