Skip to content

Multiple remove on Restangular #1490

Description

@endriyas

i have model called taskToStaff contains ID, taskID, StaffID

I need to delete documents from taskToStaff model where tskID is equal to the ID that i given.

curruntlly i test this but does not work.

this.TaskToStaffsDataSource = Restangular.service("taskToStaffs");
this.TaskToStaffsDataSource.one(taskID).removeAll().then(() =>{});

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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