redis dal constructing query added