IndexedDBIndexSchema Class

The schema of an index (https://w3c.github.io/IndexedDB/#index-construct).

public sealed class IndexedDBIndexSchema

Constructors

NameDescription
IndexedDBIndexSchema()

IndexedDBIndexSchema()

  • Obsolete: Constructors of types with required members are not supported in this version of your compiler.
[Obsolete("Constructors of types with required members are not supported in this version of your compiler.", true)]
public IndexedDBIndexSchema()

No documentation is available.

Properties

NameDescription
IdGets the id of the index, unique in the database.
KeyPathGets the key path of the index.
MultiEntryGets whether an array key adds a record per item.
NameGets the name of the index.
UniqueGets whether the keys of the index are unique.

Gets the id of the index, unique in the database.

public required long Id { get; init; }

Property value

long

Gets the key path of the index.

public required IndexedDBKeyPath KeyPath { get; init; }

Property value

IndexedDBKeyPath

Gets whether an array key adds a record per item.

public bool MultiEntry { get; init; }

Property value

bool

Gets the name of the index.

public required string Name { get; init; }

Property value

string

Gets whether the keys of the index are unique.

public bool Unique { get; init; }

Property value

bool