Did you know ...
Search Documentation:
Predicate redis_current_command/2
HOME
DOWNLOAD
SWI-Prolog
Sources/building
Docker images
Add-ons
Browse GIT
DOCUMENTATION
Manual
Packages
FAQ
Command line
PlDoc
Bluffers
▶
Prolog syntax
PceEmacs
HTML generation
License
Publications
Rev 7 Extensions
TUTORIALS
Beginner
▶
Getting started
Learn Prolog Now!
Simply Logical
Debugger
Development tools
Advanced
▶
Modules
Grammars (DCGs)
clp(fd)
Printing messages
PlDoc
Web applications
▶
Web applications
Let's Encrypt!
Pengines
Semantic web
▶
ClioPatria
RDF namespaces
Graphics
▶
XPCE
GUI options
Machine learning
▶
Probabilistic Logic Programming
External collections
▶
Meta level tutorials
For packagers
▶
Linux packages
COMMUNITY
Forum & mailing list
Blog
News
Report a bug
Submit a patch
Submit an add-on
Roadmap (on GitHub)
External links
Contributing
Code of Conduct
Contributors
SWI-Prolog items
COMMERCIAL
WIKI
Login
View changes
Sandbox
Wiki help
All tags
Documentation
Reference manual
Packages
Redis -- a SWI-Prolog client for redis
library(redis): Redis client
redis_server/3
redis_connect/1
redis_connect/3
tls_verify/5
sentinel_slave/4
redis_disconnect/1
redis_disconnect/2
redis/2
redis/3
redis/1
redis_write/2
redis_read/2
redis_get_list/3
redis_get_list/4
redis_set_list/3
redis_get_hash/3
redis_set_hash/3
redis_array_dict/3
redis_scan/3
redis_sscan/4
redis_hscan/4
redis_zscan/4
redis_current_command/2
redis_current_command/3
redis_property/2
redis_subscribe/4
redis_subscribe/2
redis_unsubscribe/2
redis_current_subscription/2
Availability:
:- use_module(
library(redis)
).
(can be autoloaded)
[nondet]
redis_current_command
(
+Redis, ?Command
)
[nondet]
redis_current_command
(
+Redis, ?Command, -Properties
)
True when
Command
has
Properties
. Fails if
Command
is not defined. The
redis_current_command/3
version returns the command argument specification. See
Redis
documentation for an explanation.