We define a query as valid when it contains either one of the column names of
the table being queried and/or one of the R operators provided in the
lookup_table object of the package.
query_check(query, login, table_name)Invisibly returns TRUE if the query is valid; throws an error
otherwise.
An R expression that will be converted into an SQL query
The connection object obtained from the login() function.
A character with the table name