Skip to content

Commit

Permalink
Merge pull request #374 from DiscoPYF/fixSelectivityEstimateType
Browse files Browse the repository at this point in the history
Fix type of selectivity estimate in responses.
  • Loading branch information
tjoubert authored May 9, 2022
2 parents 7435a33 + faa1881 commit ecd9bf1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ public class PostExplainAqlQueryResponseIndex
public string Type { get; set; }
public string Name { get; set; }
public IEnumerable<string> 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; }
Expand Down
2 changes: 1 addition & 1 deletion arangodb-net-standard/IndexApi/Models/IndexResponseBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ public class IndexResponseBase : ResponseBase
/// <summary>
/// The index selectivity estimate value for the index if <see cref="Estimates"/> is set to True.
/// </summary>
public int? SelectivityEstimate { get; set; }
public double? SelectivityEstimate { get; set; }

/// <summary>
/// Supported by array indexes of type <see cref="IndexType.Persistent"/>.
Expand Down

0 comments on commit ecd9bf1

Please sign in to comment.