A record from a registry.
new()Creates an instance of this R6 class. This class should not be instantiated directly,
but rather by connecting to a LaminDB instance using the connect() function.
Record$new(instance, registry, api, data)instanceThe instance the record belongs to.
registryThe registry the record belongs to.
apiThe API for the instance.
dataThe data for the record.
delete()Delete a Record
Record$delete(verbose = FALSE)verboseWhether to print details of the API call
TRUE invisibly if the deletion is successful
styleLogical, whether the output is styled using ANSI codes
to_string()Create a string representation of a Record
Record$to_string(style = FALSE)styleLogical, whether the output is styled using ANSI codes
A cli::cli_ansi_string if style = TRUE or a character vector