Skip to content

GetIndexesAsync Method ​

Definition ​

  • Namespace: JASE.Database.Connections
  • Assembly: JASE.Database.dll

Overloads ​

NameDescription
Task<IReadOnlyList<IndexInformation>> GetIndexesAsync(int commandTimeout = null)Retrieve all indexes from the database. Empty list when none exist (never null on success).
Task<IReadOnlyList<IndexInformation>> GetIndexesAsync(string schema, int commandTimeout = null)Retrieve indexes from a specific database schema. Empty list when none exist (never null on success).

Task<IReadOnlyList<IndexInformation>> GetIndexesAsync(int commandTimeout = null) ​

csharp
Task<IReadOnlyList<IndexInformation>> GetIndexesAsync(int commandTimeout = null)

Retrieve all indexes from the database. Empty list when none exist (never null on success).

Returns ​

Index details; empty when none.

Task<IReadOnlyList<IndexInformation>> GetIndexesAsync(string schema, int commandTimeout = null) ​

csharp
Task<IReadOnlyList<IndexInformation>> GetIndexesAsync(string schema, int commandTimeout = null)

Retrieve indexes from a specific database schema. Empty list when none exist (never null on success).

Returns ​

Index details; empty when none.