force_value


Description:

public virtual bool force_value (Value val)

Set internal GLib.Value _val to the given value, reseting the current value's type to. Use with caution, continue reading.

This should be used only on new value implementations. Forcing to a type incompatible with the current one, can produce crashes or un- predictable behavior. Is better if you use SqlValue.cast to convert the current to value to another.