mirror of
				https://github.com/pocoproject/poco.git
				synced 2025-10-26 10:32:56 +01:00 
			
		
		
		
	Add rpoplpush
This commit is contained in:
		| @@ -236,6 +236,14 @@ Command Command::rpop(const std::string& list) | ||||
| 	return cmd; | ||||
| } | ||||
|  | ||||
| Command Command::rpoplpush(const std::string& sourceList, const std::string& destinationList) | ||||
| { | ||||
| 	Command cmd("RPOPLPUSH"); | ||||
|  | ||||
| 	cmd << sourceList << destinationList; | ||||
|  | ||||
| 	return cmd; | ||||
| } | ||||
|  | ||||
| Command Command::rpush(const std::string& list, const std::string& value, bool create) | ||||
| { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 fbraem
					fbraem