Skip to contents

Returns the set of distinct keys used in a stream, with optional pagination.

Usage

mc_list_stream_keys(
  conn,
  stream,
  keys = "*",
  verbose = FALSE,
  count = NULL,
  start = NULL,
  local_ordering = FALSE
)

Arguments

conn

A connection object created by mc_connect.

stream

Character string. Stream name, reference, or txid.

keys

Character vector of keys to filter (default "*" for all).

verbose

Logical. If TRUE, returns additional metadata per key.

count

Optional integer. Number of keys to return.

start

Optional integer. Offset.

local_ordering

Logical. Use local ordering.

Value

A data frame (via rpc_res_to_df) with key information.

Examples

if (FALSE) { # \dontrun{
keys <- mc_list_stream_keys(conn, "mystream")
} # }