We have updated our Terms of Service, Code of Conduct, and Addendum.

Redis. How to use a Redis query in a code function?

Pawel Kwiatkowski
Pawel Kwiatkowski Posts: 25 ✭✭

I would like define a Readis connection at the beginning of pipeline and reuse by a code functions through all an event live-time.

Something like "C.Lookup" expression.

PS: A Redis function is not applicable for my needs :).

Answers

  • Dan Schmitz
    Dan Schmitz Posts: 4

    Pawel, great question. Today, we can't leverage the Code function to call Redis. We are looking to expand our Redis capabilities to make use easier in pipelines. Is your goal to ease pipeline complexity with re-using the connection and function?

  • Pawel Kwiatkowski
    Pawel Kwiatkowski Posts: 25 ✭✭

    Mainly it is about fexibility. Using a function doesn't give such feature.
    It is fine when you looking a sight key but when need to check couple in single event, then is a problem.

    Other feature. I would like get all values as an object, as it possible via C.Lookup method.

  • Brian Homrich
    Brian Homrich Posts: 1

    I would second the request, as the pipeline I'm building got super unmanageable carrying state around between pipeline functions based on existence or not of redis entries.

    Has there been any movement since Pawel's request on the "expand" motion Dan mentioned previously?