Skip to content

support for bulk operations #160

@yelisap

Description

@yelisap

Hi Teams,

We have a use case which will need create/update multi records at one time.
Currently we are using follow scripts to save them.

cdsService.dispatch({
                event: "CREATE",
                path: this.entity.name,
                data: [{}, {}, {}],
                query: INSERT.into(this.entity).entries([{}, {}, {}])
            })

But we found it will not generate audit log information.

Is create/update multi records at one time is supported in @cap-js/audit-logging ?

Follow are some version of components we are using.

  1. "@sap/cds": "7.8.2"
  2. "@cap-js/audit-logging": "0.8.3"

Thanks for the helping on this issue.

Best Regards,
Ye Li

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions