Ejemplo n.º 1
0
 public static async Task <long> CountAsync(this ICypherFluentQuery query, string targetVar = "x")
 {
     return(await query.FirstOrDefaultAsync(() => Return.As <long>($"count(distinct {targetVar})")));
 }