Home > Backend Development > PHP Tutorial > How to get all collection names in a certain library in redis?

How to get all collection names in a certain library in redis?

WBOY
Release: 2016-08-20 09:04:04
Original
1207 people have browsed it

How to get all the collection names in a certain library in redis?

Reply content:

How to get all the collection names in a certain library in redis?

There is no such operation. You can only use KEYS to get all the keys first, and then use TYPE to determine whether each key is a set

Found, you can get it by using the scan 0 command

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template