Exemple #1
0
        /// <summary>
        /// Executes queries
        /// </summary>
        /// <typeparam name="TResult"></typeparam>
        /// <param name="query"></param>
        /// <returns></returns>
        public async Task <ResultSet <TResult> > ExecuteGremlinQuery <TResult>(GremlinQuery query)
        {
            ResultSet <TResult> results = null;

            results = await GremlinClient.SubmitAsync <TResult>(query.ToString(), new Dictionary <string, object>(query.Arguments));

            return(results);
        }