Skip to contents

Get a single row by ID

Usage

hb_get_row(client, table, row_id, ...)

Arguments

client

A harbour_client.

table

Table name.

row_id

The SeaTable row identifier.

...

These dots are for future extensions and must be empty.

Value

A one-row tibble with one column per SeaTable column, plus _id (chr). An unknown row_id is an error - a harbour_error_not_found condition - not an empty result, because asking for a specific row that does not exist is a mistake worth surfacing.

Examples

if (FALSE) { # interactive()
client <- hb_client()
hb_get_row(client, "Samples", "abc123")
}