Class EventingFunctionConstantBinding
These bindings are utilized by the Function’s JavaScript handler code as global variables.
Inherited Members
Namespace: Couchbase.Management.Eventing
Assembly: Couchbase.NetClient.dll
Syntax
public class EventingFunctionConstantBinding
Properties
| Edit this page View SourceAlias
The alias name of the constant binding.
Declaration
[JsonPropertyName("value")]
public string Alias { get; set; }
Property Value
Type | Description |
---|---|
string |
Remarks
Optional. The min length is 1 and the max is 20.
Literal
The literal value bound to the alias name.
Declaration
[JsonPropertyName("literal")]
public string Literal { get; set; }
Property Value
Type | Description |
---|---|
string |