mirror of
				https://github.com/pocoproject/poco.git
				synced 2025-10-26 10:32:56 +01:00 
			
		
		
		
	Add sismember
This commit is contained in:
		| @@ -381,6 +381,15 @@ Command Command::sinterstore(const std::string& set, const std::vector<std::stri | ||||
| 	return cmd; | ||||
| } | ||||
|  | ||||
| Command Command::sismember(const std::string& set, const std::string& member) | ||||
| { | ||||
| 	Command cmd("SISMEMBER"); | ||||
|  | ||||
| 	cmd << set << member; | ||||
|  | ||||
| 	return cmd; | ||||
| } | ||||
|  | ||||
| Command Command::smembers(const std::string& set) | ||||
| { | ||||
| 	Command cmd("SMEMBERS"); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 fbraem
					fbraem