def hello

bend-kit-redis@0.3.0.0 · redis.bend:910

import bend-kit-redis@0.3.0.0/redis.bend as Redis
import Base

910# HELLO 3 (with AUTH), then SELECT, in one pipeline.
911def hello(c: Conn, +user: String, +pass: String, +db: U32) -> IO(Result<&1, &1, Failure, Conn>):
912  do IO<Result<&1, &1, Failure, Conn>>:
913    r : Result<&1, &1, Failure, Conn & List<&1, Val>> <- pipeline(c, Con{args(List.append(&2, String, ["HELLO", "3"], hello.auth(user, pass))), hello.select(db)})
914    hello.got(r)

Uses (16)

Used by (2)