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
All threads resolved!
4 files
+ 6
6
Compare changes
  • Side-by-side
  • Inline
Files
4
+ 2
2
@@ -224,11 +224,11 @@ Up- and Download a file
const auto &insert_results = insert_transaction->GetResultSet();
const auto &inserted_file = insert_results.at(0);
// for the download you need to use the RetrieveAndDownloadFilesById task and
// for the download you need to use the RetrieveAndDownloadFileById task and
// supply the path where the file shall be stored
test_download_file = fs::path("test_download_file_delete_me.dat");
auto download_transaction(connection->CreateTransaction());
download_transaction->RetrieveAndDownloadFilesById(
download_transaction->RetrieveAndDownloadFileById(
inserted_file.GetId(), test_download_file.string());
download_transaction->ExecuteAsynchronously();
download_transaction->WaitForIt().GetCode()
Loading