add_key
Aliases: addkey (deprecated).
add_key [keyfield: col storable]+
Add a candidate key to the output.
The candidate key describes a combination of columns that together identify a resource instance, and can be the target of a foreign key.
Categories
Accelerable
add_key is always accelerable if the input is accelerable. A dataset that only uses accelerable verbs can be accelerated, making queries on the dataset respond faster.
Examples
add_key cluster_uid, resource_uid
Adds a candidate key that says that cluster_uid plus resource_uid together uniquely identify the resource instance.
Updated 8 days ago