aerospike
Advanced tools
Comparing version 1.0.16 to 1.0.18
@@ -215,5 +215,3 @@ # Client Class | ||
the operation. | ||
- `response` - A dictionary with the udf function name as the key and the value returned from the udf | ||
function as the value. | ||
- `key` – A [Key object](datamodel.md#key) for the record that was written. | ||
- `response` - The value returned from the udf function. | ||
@@ -506,3 +504,3 @@ Example: | ||
### select(udfModule, policy=null, callback) | ||
### udfRegister(udfModule, policy=null, callback) | ||
@@ -525,3 +523,3 @@ Registers an UDF to the database cluster. | ||
client.select("path/to/file/filename", function(error) { | ||
client.udfRegister("path/to/file/filename", function(error) { | ||
// do something | ||
@@ -537,3 +535,3 @@ }); | ||
### select(udfModule, policy=null, callback) | ||
### udfRemove(udfModule, policy=null, callback) | ||
@@ -556,3 +554,3 @@ Registers an UDF to the database cluster. | ||
client.select("udfModuleName", function(error) { | ||
client.udfRemove("udfModuleName", function(error) { | ||
// do something | ||
@@ -559,0 +557,0 @@ }); |
{ | ||
"name" : "aerospike", | ||
"version" : "1.0.16", | ||
"version" : "1.0.18", | ||
"description" : "Aerospike Client Library", | ||
@@ -5,0 +5,0 @@ "tags" : [ "aerospike", "database", "nosql" ], |
@@ -65,7 +65,6 @@ /******************************************************************************* | ||
var key = kgen(); | ||
var response = { "rec_create" : 0 } | ||
client.execute(key, udfArgs, function(err, res, key) { | ||
client.execute(key, udfArgs, function(err, res) { | ||
expect(err).to.be.ok(); | ||
expect(err.code).to.equal(status.AEROSPIKE_OK); | ||
expect(res).to.eql(response); | ||
expect(res).to.equal(0); | ||
done(); | ||
@@ -78,7 +77,6 @@ }); | ||
var key = kgen(); | ||
var response = { "rec_update" : 0 } | ||
client.execute(key, udfArgs, function( err, res, key) { | ||
client.execute(key, udfArgs, function( err, res) { | ||
expect(err).to.be.ok(); | ||
expect(err.code).to.equal(status.AEROSPIKE_OK); | ||
expect(res).to.eql(response); | ||
expect(res).to.equal(0); | ||
done(); | ||
@@ -91,8 +89,7 @@ }); | ||
var key = kgen(); | ||
var response = { "rec_update" : 0 } | ||
var applypolicy = { timeout : 1500} | ||
client.execute(key, udfArgs, applypolicy, function( err, res, key) { | ||
client.execute(key, udfArgs, applypolicy, function( err, res) { | ||
expect(err).to.be.ok(); | ||
expect(err.code).to.equal(status.AEROSPIKE_OK); | ||
expect(res).to.eql(response); | ||
expect(res).to.equal(0); | ||
done(); | ||
@@ -99,0 +96,0 @@ }); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
608098
6739