IDatabaseParameterValue¶
- class IDatabaseParameterValue¶
Bases:
ImpactCOMWrapperBase- Description:
Allows you to assign parameters for SQL statements used in either IDatabaseQuery or IDatabaseCommand objects.
- Remarks:
You should set all appropriate parameter values before using IDatabaseQuery.open or IDatabaseCommand.execute_sql. Introduced in Impact 11.0.0.35.
Wraps a COM object or another wrapper instance. Accepts: - A valid impact_object - An existing impact_com_wrapper_base-derived instance
- property is_null¶
Gets is_null.
- Description:
Gets/sets whether the parameter is null.
- Returns:
The value of is_null.
- Return type:
is_null (bool)
- property name¶
Gets Name.
- Description:
Returns the name of the parameter.
- Returns:
The value of Name.
- Return type:
name (str)
- property value¶
Gets Value.
- Description:
Gets/sets the parameter value as a variant.
- Remarks:
You should assign values to parameters using native variant types such as Integer, String, Boolean, Float etc. BLOB values can be assigned using a variant array of bytes or a variant array of variants. BLOB values are always returned as a variant array of bytes.
- Returns:
The value of Value.
- Return type:
value (any)