Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

aerospike

Package Overview
Dependencies
Maintainers
2
Versions
138
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

aerospike - npm Package Compare versions

Comparing version 1.0.16 to 1.0.18

aerospike-1.0.18.tgz

12

docs/client.md

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc