AUDFAccess..::..Execute Method (Key, array<Object>[]()[][])
Executes the UDF based on key and functionArgs
Namespace:
Aerospike.Database.LINQPadDriver.ExtensionsAssembly: Aerospike.Database.LINQPadDriver (in Aerospike.Database.LINQPadDriver.dll)
Syntax
Parameters
- key
- Type: Key
The primary key for the target set
- functionArgs
- Type: array<Object>[]()[][]
The values that are passed to the UDF. These values can be a Value or a C# native type.
Return Value
The value returned from the UDF or null.Examples
C#
Key key = new Key("MyNS", "MySet", "udfkey1"); BinName bin = new BinName("udfbin1", "string value"); this.Execute(Value.Get(bin.name), bin.value); //Check to see if record was actually written Record record = client.Get(null, key, bin.name); AssertBinEqual(key, record, bin);