From faa188133bd9db2974afa589e2e3b032fa9273e6 Mon Sep 17 00:00:00 2001 From: Pierre-Yves FARE Date: Fri, 6 May 2022 19:38:50 +0100 Subject: [PATCH] Fix type of selectivity estimate in responses. fix #366 --- .../AqlFunctionApi/Models/PostExplainAqlQueryResponseIndex.cs | 2 +- arangodb-net-standard/IndexApi/Models/IndexResponseBase.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arangodb-net-standard/AqlFunctionApi/Models/PostExplainAqlQueryResponseIndex.cs b/arangodb-net-standard/AqlFunctionApi/Models/PostExplainAqlQueryResponseIndex.cs index 990f7493..8eca0028 100644 --- a/arangodb-net-standard/AqlFunctionApi/Models/PostExplainAqlQueryResponseIndex.cs +++ b/arangodb-net-standard/AqlFunctionApi/Models/PostExplainAqlQueryResponseIndex.cs @@ -10,7 +10,7 @@ public class PostExplainAqlQueryResponseIndex public string Type { get; set; } public string Name { get; set; } public IEnumerable Fields { get; set; } - public int? SelectivityEstimate { get; set; } + public double? SelectivityEstimate { get; set; } public bool? Unique { get; set; } public bool? Sparse { get; set; } public bool? Deduplicate { get; set; } diff --git a/arangodb-net-standard/IndexApi/Models/IndexResponseBase.cs b/arangodb-net-standard/IndexApi/Models/IndexResponseBase.cs index d2851fc9..bdf8b1bb 100644 --- a/arangodb-net-standard/IndexApi/Models/IndexResponseBase.cs +++ b/arangodb-net-standard/IndexApi/Models/IndexResponseBase.cs @@ -60,7 +60,7 @@ public class IndexResponseBase : ResponseBase /// /// The index selectivity estimate value for the index if is set to True. /// - public int? SelectivityEstimate { get; set; } + public double? SelectivityEstimate { get; set; } /// /// Supported by array indexes of type .