[ CCode ( cname = "gda_server_operation_set_value_at_path" ) ]
[ Version ( since = "4.2.6" ) ]
public bool set_value_at (string? value, string path) throws Error
Set the value for the node at the path formed using path_format
and the ... ellipse (the rules are the same as for
to_string).
Note that trying to set a value for a path which is not used by the current provider, such as "/TABLE_OPTIONS_P/TABLE_ENGINE" for a
PostgreSQL connection (this option is only supported for MySQL), will not
generate any error; this allows one to give values
to a superset of the parameters and thus use the same code for several providers.
Here are the possible formats of path_format
:
COLUMN
/5" for the value at the 6th row of the "COLUMN" column of the "ARRAY" data model, then:
this |
a ServerOperation object |
value |
a string |
path |
a complete path to a node (starting with "/") |
|