create a table with per record if it abides to the rule.
confront_tbl(tbl, x, key = NULL)dbplyr::tbl_dbi() table in a database, retrieved with tbl()
validate::validator() object with validation rules.
character with key column name.
a list with needed information, see details.
The return value of the function is a list with:
$query: A dbplyr::tbl_dbi() object that refers to the confrontation query.
$errors: The validation rules that are not working on the database
$working: A logical with which expression are working on the database.
$exprs: All validation expressions.
$nexprs: Number of working expression.