server_set_metadata
Type: Function · Category: server
Sets server metadata. Server metadata is a set of free form key/value data, usually used for configuration of artifacts.
For existing keys, the value is overwritten. Setting a metadata
key with a NULL value deletes that entry.
Example
SELECT server_set_metadata(`Slack Token`="X12233")
FROM scope()
| Argument | Type | Description |
|---|---|---|
metadata |
ordereddict.Dict | A dict containing metadata. If not specified we use kwargs. |
Required permissions: SERVER_ADMIN
Platforms: macOS, Linux, Windows
Source: vql/server/clients/metadata.go