Skip to content

PrimaryKey missing #15

@thepra

Description

@thepra

I get this issue when using this new library:

Failed to execute 'add' on 'IDBObjectStore': Evaluating the object store's key path did not yield a value.

looking at the db created from:

new() {
    Name = nameof(StoredFile),
    PrimaryKey = nameof(StoredFile.FileId),
    Indexes = new()
    {
	nameof(StoredFile.DiscussionId),
	nameof(StoredFile.Base64Data)
    }
}

immagine
but as you can see, no FileId is present in the table in an explicit way, only when clicking on the table name I get the key name, but that's it. Do you see what the issue could be?

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions