You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| Parameters | Type |
| --- | --- | --- |
| tx | Transaction | the resulting transaction, use this to commit or undo the changes |
Returns
Number
0 or an error code
Config#setInt64 Sync
varresult=config.setInt64(name,value);
| Parameters | Type |
| --- | --- | --- |
| name | String | the variable's name |
| value | Number | Long integer value for the variable |
Returns
Number
0 or an error code
Config#setMultivar Sync
varresult=config.setMultivar(name,regexp,value);
| Parameters | Type |
| --- | --- | --- |
| name | String | the variable's name |
| regexp | String | a regular expression to indicate which values to replace |
| value | String | the new value. |
Returns
Number
Config#setString Async
config.setString(name,value).then(function(result){// Use result});
| Parameters | Type |
| --- | --- | --- |
| name | String | the variable's name |
| value | String | the string to store. |
Returns
Number
0 or an error code
Config#snapshot Async
config.snapshot().then(function(config){// Use config});