Main.Accert.get_var_value_by_name#

Accert.get_var_value_by_name(c, var_name)[source]#

Get a variable value based on a specific variable name.

Parameters:
  • c (MySQLCursor) – MySQLCursor class instantiates objects that can execute MySQL statements.

  • var_name (str) – Variable name.

Returns:

var_value – Variable value.

Return type:

str