Value :: toString - Convert to string value
The function returns the property value as String value. When the property is not a text property the property value is converted into a string value. Large binary fields ( BLOB ) are converted to Base64 strings.
When no instance is selected or the value cannot be converted into a numeric value, the function throws an exception.
Implementation overview
- Get string value from current value
Value :: toString (  ) - Get string for passed property
Value :: toString ( vSimplePath )
Implementation details
-
Get string value from current value
odaba::String Value  :: toString (  )
The function returns the string value from current value handle. When no value is selected, the function tries to locate the first instance.
to list
-
Get string for passed property
odaba::String Value  :: toString ( odaba::String &vSimplePath )
The function returns the string value for the property with the name passed in vSimplePath . When no property exists with the passed name the function throws an exception.
This is a short form for value( vSimplePath ).toString() .
- vSimplePath
- Simple property path
A simple property path may contain an extent or property name but also a sequence of property names separated by dot. A simple property path must not contain parenthesis or preceding dots.
to list
- vSimplePath
- Simple property path