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

[NFR] cache exist function #81

Closed
kenjikobe opened this issue Sep 13, 2012 · 5 comments
Closed

[NFR] cache exist function #81

kenjikobe opened this issue Sep 13, 2012 · 5 comments
Labels
new feature request Planned Feature or New Feature Request
Milestone

Comments

@kenjikobe
Copy link
Contributor

add a way to check if a key exists in the cache without get the contents of it

@kenjikobe
Copy link
Contributor Author

something like $cache->exists("key") or $cache->has("key")

@ghost ghost assigned phalcon Sep 15, 2012
@phalcon
Copy link
Collaborator

phalcon commented Sep 19, 2012

This will be addressed in 0.6.0

@hdogan
Copy link
Contributor

hdogan commented Oct 17, 2012

@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

@hdogan
Copy link
Contributor

hdogan commented Oct 18, 2012

PR is already merged. This issue can be closed.

@phalcon phalcon closed this as completed Oct 19, 2012
@phalcon
Copy link
Collaborator

phalcon commented Oct 19, 2012

thanks!

phalcon pushed a commit that referenced this issue Oct 19, 2013
@phalcon phalcon removed their assignment Mar 14, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new feature request Planned Feature or New Feature Request
Projects
None yet
Development

No branches or pull requests

2 participants