Skip to content

should Temporals be indexed natively or as [sortable] ISO/JSON strings in IndexedDb?  #83

@kaizhu256

Description

@kaizhu256

if indexed as [sortable] ISO/JSON strings, what about ZonedInstant timezones?

fyi BigInt, which are indexed natively, have the following comparison-priority in IndexedDb (w3c/IndexedDB#231):

  • BigInts compare greater than Number and less than everything else
  • No type coercion between BigInt and Number; they are simply
    distinct, unrelated keys, even if mathematically equal
  • No BigInt autoIncrement support--53 bits should be enough for anyone

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions