Skip to contents

List views of a table

Usage

# S3 method for class 'harbour_dtable'
hb_list_views(x, table, ...)

# Default S3 method
hb_list_views(x, table, ...)

hb_list_views(x, table, ...)

# S3 method for class 'harbour_client'
hb_list_views(x, table, ..., refresh = FALSE)

Arguments

x

A harbour_client connected to a base, or a harbour_dtable read from a local file.

table

Table name.

...

These dots are for future extensions and must be empty.

refresh

Logical. Ask the server rather than reusing the cached base metadata. Default FALSE.

Value

A tibble with columns name (chr), type (chr) and is_default (lgl). Zero rows if no views exist.

Examples

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