keys: Relational data keys

View source: R/shared_class_functions.r

keysR Documentation

Relational data keys

Description

Generic function, with the only given method fetching candidate key lists for relation schemas.

Usage

keys(x, ...)

keys(x, ...) <- value

Arguments

x

a relational schema object, such as a relation_schema or database_schema object, or a relational data object, such as a relation or database object.

...

further arguments passed on to methods.

value

A list of lists of character vectors, of the same length as keys(x, ...). The number of keys for an element of x can be changed.

Value

A list containing lists of unique character vectors, representing candidate keys for each element of x.


autodb documentation built on April 4, 2025, 5:12 a.m.