💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、星火、月之暗面及文生图 广告
## sRem, sRemove ##### *Description* Removes the specified member from the set value stored at key. 移除指定的VALUE从SET容器中 ##### *Parameters* *key* *member* ##### *Return value* *BOOL*`<span class="calibre12">TRUE</span>` if the member was present in the set, `<span class="calibre12">FALSE</span>` if it didn't. ##### *Example* ``` <pre class="calibre9">$redis->sAdd('key1' , 'member1'); $redis->sAdd('key1' , 'member2'); $redis->sAdd('key1' , 'member3'); /* 'key1' => {'member1', 'member2', 'member3'}*/ $redis->sRem('key1', 'member2'); /* 'key1' => {'member1', 'member3'} */ ```