Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Swoole\Table是否可以提供一个获取已经设置的keys函数 #2939

Closed
bingcool opened this issue Nov 5, 2019 · 5 comments
Closed

Comments

@bingcool
Copy link

bingcool commented Nov 5, 2019

Please answer these questions before submitting your issue. Thanks!

  1. What did you do? If possible, provide a simple script for reproducing the error.

主要是在做一些监控时,需要能够获取已经设置的key有哪些,从而可以获取对应的值。

  1. What did you expect to see?

  2. What did you see instead?

  3. What version of Swoole are you using (show your php --ri swoole)?

  4. What is your machine environment used (including version of kernel & php & gcc) ?

@twose
Copy link
Member

twose commented Nov 5, 2019

这个问题 我更推荐用redis

@bingcool
Copy link
Author

bingcool commented Nov 5, 2019 via email

@twose
Copy link
Member

twose commented Nov 6, 2019

我的意见还是redis更好

@matyhtf
Copy link
Member

matyhtf commented Nov 7, 2019

你需要遍历。

@matyhtf matyhtf closed this as completed Nov 7, 2019
@bingcool
Copy link
Author

bingcool commented Nov 7, 2019 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants