booksleeve


in booksleeve how do I iterate through all the keys in given db


I´m using booksleeve (and it is awesome) to access redis from C#. The only thing I lack is api documentation (or perhaps I haven´t found it?). I need to flush redis db to sql server, so I need to iterate through all the keys in redis db. How is this best done?
Edit
Ok, I've managed to do this by:
var conn = MyTable.RedisConnection;
var keys = conn.Keys.Find(MyTable.redis_db_index, "*").Result;
I would use publisher/subscriber technique. It seems that Find in Booksleeve is Keys pattern command in Redis. And they do not recommend using Keys pattern in production. See http://redis.io/commands/keys .

Related Links

BookSleeve ConnectionUtils with sentinel password
in booksleeve how do I iterate through all the keys in given db
Saving a collection of objects with BookSleeve
Booksleeve - Setting multiple Hash Values and retrieve them at once
How to use a singleton for storing the RedisConnection with Booksleeve?

Categories

HOME
jpa
jmeter
pagination
apiblueprint
sublimetext
vscode-extensions
alarm
carousel
switch-statement
telegram-bot
bookmarks
iis-6
google-admin-sdk
jax-ws
azure-container-service
pkcs#11
dkim
mel
automatic-ref-counting
nancy
event-sourcing
esoteric-languages
named-entity-recognition
pchart
displaytag
direct3d11
pylons
angularjs-components
underscore.js
apktool
intersystems-cache
datastax-enterprise-graph
quantlib
testcomplete
scrollview
userdefaults
anki
jmockit
pdw-file-browser
hivemq
sim-toolkit
xcode7.3
android-augmented-reality
cin
android-softkeyboard
branching-and-merging
sharp-snmp
glm-math
outputcache
placeholder
android-exoplayer
uiimage
vaadin-elements
xbmc
qtranslate
subnet
javafx-css
reachability
cronexpression
respondcms
shopping
mobiledoc-kit
jnlua
wso2greg
ocra
alloy-ui
typeconverter
phpldapadmin
qtwebengine
named-parameters
live555
dct
qscrollarea
getopt
http-patch
unit-of-work
observium
time.h
alice
booksleeve
robotlegs
extreme-programming
qtconcurrent
cakephp-1.2
subproject
httponly
kqueue
isa-swizzling
hibernateexception
landscape-portrait
rmdir
commerceserver2007
addchild
zen
request-headers
django-piston
wordprocessingml
google-wave
asynchronous-wcf-call
sifr3
fdf

Resources

Encrypt Message