Skip to contents

Check Cryovial Barcodes in Database

Usage

check_cryovial_barcodes_exist(
  con,
  user_data,
  row_number_col,
  cryovial_col,
  cryovial_box_col,
  error_if_exists = TRUE
)

Arguments

con

A database connection object.

user_data

The name of the table where the user data is temporarily stored in the database.

row_number_col

The column with the row number in the user_data.

cryovial_col

The column with Cryovial barcodes in the user_data.

cryovial_box_col

The column with Cryovial box IDs in the user_data.

error_if_exists

Logical. If TRUE, an error is returned if the barcode exists in the database.

cryovial_box_barcode_col

The column with Cryovial box barcodes in the user_data.

Value

An instance of the ErrorData class or NULL.