Skip to contents

Delete rows

Usage

hb_delete_rows(client, table, row_ids, ..., chunk_size = 1000L)

Arguments

client

A harbour_client.

table

Table name.

row_ids

A character vector of row IDs to delete.

...

These dots are for future extensions and must be empty.

chunk_size

Rows per request. SeaTable caps batch writes at 1000 and harbouR clamps it, warning if you asked for more.

Value

Invisibly, a one-row tibble with columns table (chr), n_rows (int) and n_requests (int).

Examples

if (FALSE) { # interactive()
client <- hb_client()
hb_delete_rows(client, "Samples", c("abc", "def"))
}