redis-manager-utils
Advanced tools
Comparing version 1.1.0 to 1.1.1
@@ -339,9 +339,7 @@ const REDIS = require("redis"); | ||
setSetDifferenceStore( wStoreKey , wSetKey , wCompareSetKey ) { | ||
if ( !wStoreKey ) { return undefined; } | ||
if ( !wSetKey ) { return undefined; } | ||
if ( !wCompareSetKey ) { return undefined; } | ||
setSetDifferenceStore( ...args ) { | ||
if ( !args ) { return undefined; } | ||
let that = this; | ||
return new Promise( function( resolve , reject ) { | ||
try { that.redis.sdiffstore( wStoreKey , wSetKey , wCompareSetKey , function( err , values ) { resolve( values ); }); } | ||
try { that.redis.sdiffstore( ...args , function( err , values ) { resolve( values ); }); } | ||
catch( error ) { console.log( error ); reject( error ); } | ||
@@ -351,9 +349,7 @@ }); | ||
setStoreUnion( wStoreKey , wSetKey1 , wSetKey2 ) { | ||
if ( !wStoreKey ) { return undefined; } | ||
//if ( !wSetKey1 ) { return undefined; } | ||
//if ( !wSetKey2 ) { return undefined; } | ||
setStoreUnion( ...args ) { | ||
if ( !args ) { return undefined; } | ||
let that = this; | ||
return new Promise( function( resolve , reject ) { | ||
try { that.redis.sdiffstore( wStoreKey , wSetKey1 , wSetKey2 , function( err , values ) { resolve( values ); }); } | ||
try { that.redis.sdiffstore( ...args , function( err , values ) { resolve( values ); }); } | ||
catch( error ) { console.log( error ); reject( error ); } | ||
@@ -360,0 +356,0 @@ }); |
{ | ||
"name": "redis-manager-utils", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "main.js", |
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
19436
474