Exemplo n.º 1
0
        private async Task ExecuteQueryExpr(QueryExpr expr)
        {
            var key = new ORSetKey <string>(expr.Key);

            try
            {
                var reply = await ddata.GetAsync(key, readConsistency);

                Console.WriteLine($"GET '{key}': {reply?.ToString() ?? "null" }");
            }
            catch (Exception e)
            {
                Console.WriteLine($"Couldn't receive GET for {key}: {e}");
            }
        }