SQL Server

DeleteMultiple

5 samples, from the least code that works to complete workflows.

What a DeleteMultiple does

Many by id DeleteMultipleAsync("account", ids): up to 2,000 ids as one parameter each in an IN list; more as one JSON parameter, IN (SELECT v FROM OPENJSON(@p0) WITH (v bigint '$')), up to 1,000,000 a statement; never a concatenated list. Returns the count; duplicates count once
Without a catalog By ids, the table is read once for the whole list (Basic2)
By a filter DeleteMultipleAsync("account", filter): one DELETE … FROM … WHERE … for every row the filter matches, returning the count, 0 when none (Basic3). An empty filter needs AllRows. From 0.1.0-preview.5

The samples