crud:doc() can handle if the called ID doesn't exists, but the function fails if no ID is passed through. This occurs, e.g., if an element is read but not @key is available there. To avoid redundant conditionals for checking this, a conditional is implemented into crud:doc() by this PR.
crud:doc() can handle if the called ID doesn't exists, but the function fails if no ID is passed through. This occurs, e.g., if an element is read but not
@key
is available there. To avoid redundant conditionals for checking this, a conditional is implemented into crud:doc() by this PR.