Search the docs
/
ALTER CONFIG
The ALTER CONFIG statement can be used to modify an existing defined config.
SurrealQL Syntax
ALTER CONFIG [ IF EXISTS ] ( API [ MIDDLEWARE @function(...), ... ] PERMISSIONS [ NONE | FULL | @expression ] | GRAPHQL TABLES [ AUTO | NONE | INCLUDE @table, ... | EXCLUDE @table, ... ] FUNCTIONS [ AUTO | NONE | INCLUDE @function, ... | EXCLUDE @function, ... ] [ DEPTH @integer ] [ COMPLEXITY @integer ] [ INTROSPECTION NONE ] | DEFAULT NAMESPACE @namespace DATABASE @database ) [ COMMENT @string | DROP COMMENT ]
DEFINE CONFIG GRAPHQL TABLES AUTO FUNCTIONS AUTO;ALTER CONFIG GRAPHQL FUNCTIONS NONE;
Was this page helpful?
Previous
BUCKET
Next
DATABASE