The .delete() can be used to perform deletes on collections. See .at() for more details on its usage. For .delete() examples see the examples section for .at() below.

🚧

Collections passed in the .from() will get in-place updated (passed by reference). Collections added via .union() or .join() functions will not get in-place updates. The .delete() must also be followed by an .at() to define what records to delete.

The .delete() takes no parameters. Records that are true for the following .at() define what records to remove from the collection.

delete()
interface IAt {
  at(): jinqJs;
  at(...fields: string[]): jinqJs;
  at<T>(predicate: PredicateCollection<T>): jinqJs;
}

delete(): IAt;