Skip to contents

Returns all items in a stream that have a given key.

Usage

mc_list_stream_key_items(
  conn,
  stream,
  key,
  verbose = FALSE,
  count = 10,
  start = NULL,
  local_ordering = FALSE
)

Arguments

conn

A connection object created by mc_connect.

stream

Character string. Stream name, reference, or txid.

key

Character string. The key to filter by.

verbose

Logical. If TRUE, returns detailed information.

count

Integer. Number of items to return (default 10).

start

Optional integer. Offset for pagination.

local_ordering

Logical. Use local ordering.

Value

A data frame (via rpc_res_to_df) with items.

Examples

if (FALSE) { # \dontrun{
items <- mc_list_stream_key_items(conn, "mystream", "mykey")
} # }