-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
[NFR] cache exist function #81
Comments
something like $cache->exists("key") or $cache->has("key") |
This will be addressed in 0.6.0 |
@phalcon I'm currently working on exists() method implementation. See the commit at my own fork at https://github.com/hdogan/cphalcon/commit/94e07b0d0ae60d5245908eea30f6a5563e000f61 Please let me know if my implementation needs changes. I haven't done functional test yet but it compiles clearly on OSX. I'll try to complete it by tomorrow. Update: Code cleanup: https://github.com/hdogan/cphalcon/commit/fdfc772fe622f62cb7c9b96214d94695f0944726 |
PR is already merged. This issue can be closed. |
thanks! |
add a way to check if a key exists in the cache without get the contents of it
The text was updated successfully, but these errors were encountered: