redis-manager-utils
Advanced tools
Comparing version 1.1.6 to 1.1.7
@@ -295,2 +295,12 @@ const REDIS = require("redis"); | ||
setIsMember( wSetKey , wMemberKey ) { | ||
if ( !wSetKey ) { return undefined; } | ||
if ( !wMemberKey ) { return undefined; } | ||
let that = this; | ||
return new Promise( function( resolve , reject ) { | ||
try { that.redis.sismember( wSetKey , wMemberKey , function( err , values ) { resolve( values ); }); } | ||
catch( error ) { console.log( error ); reject( error ); } | ||
}); | ||
} | ||
setAdd( wKey , wValue ) { | ||
@@ -297,0 +307,0 @@ if ( !wKey ) { return undefined; } |
{ | ||
"name": "redis-manager-utils", | ||
"version": "1.1.6", | ||
"version": "1.1.7", | ||
"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
21647
535