Skip to content
Snippets Groups Projects
Commit 475a378f authored by florian's avatar florian
Browse files

FIX: Correct arguments for retrieve_by_ids

parent 5ef97a84
No related branches found
No related tags found
1 merge request!7ENH: Implement queries and entity retrieval
......@@ -127,12 +127,14 @@ function add_retrieve_by_id(
ids::Vector{T},
) where {T<:AbstractString}
len = Cint(length(ids))
err_code = ccall(
(:caosdb_transaction_transaction_retrieve_by_ids, CaosDB.library_name),
Cint,
(Ref{_Transaction}, Ptr{Ptr{Cchar}}),
(Ref{_Transaction}, Ptr{Ptr{Cchar}}, Cint),
transaction,
ids,
len,
)
CaosDB.Exceptions.evaluate_return_code(err_code)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment