Skip to content
Snippets Groups Projects

ENH: Allow insert/update/delete and files in Extern C

Merged Florian Spreckelsen requested to merge f-full-c into dev
2 files
+ 46
3
Compare changes
  • Side-by-side
  • Inline
Files
2
+ 3
3
@@ -471,7 +471,7 @@ ERROR_RETURN_CODE(
auto *wrapped_entity =
static_cast<caosdb::entity::Entity *>(entity->wrapped_entity);
return wrapped_transaction->InsertEntity(*wrapped_entity);
return wrapped_transaction->InsertEntity(wrapped_entity);
})
ERROR_RETURN_CODE(
@@ -484,7 +484,7 @@ ERROR_RETURN_CODE(
auto *wrapped_entity =
static_cast<caosdb::entity::Entity *>(entity->wrapped_entity);
return wrapped_transaction->UpdateEntity(*wrapped_entity);
return wrapped_transaction->UpdateEntity(wrapped_entity);
})
ERROR_RETURN_CODE(GENERIC_ERROR,
@@ -496,7 +496,7 @@ ERROR_RETURN_CODE(GENERIC_ERROR,
static_cast<caosdb::transaction::Transaction *>(
transaction->wrapped_transaction);
return wrapped_transaction->DeleteById(std::string(id))
return wrapped_transaction->DeleteById(std::string(id));
})
ERROR_RETURN_CODE(GENERIC_ERROR,
Loading