QueryLanguageRestriction is a datatype for language restrictions for language version. It's used by the languageRestrictions() query field.

Table: QueryLanguageRestriction

ParameterTypeRequiredDefaultStabilityDescription
Some input parameters may be required, as indicated in the Required column. For return values, this indicates that you are assured a value if the field is requested for the results.
Table last updated: Oct 2, 2024
allowedFunctions[string]yes PreviewThe list of functions allowed in the language version.
enabledbooleanyes PreviewWhether the query language restriction is enabled.
versionLanguageVersionyes PreviewThe query language version used. See LanguageVersion.