Skip to content

Support specifying a typed schema for db #34

@R-omk

Description

@R-omk

TypeScript offers amazing possibilities, one of which is "type inference."

The project most similar in spirit from the world of JavaScript is IndexedDB. In the example from the link below, you can see how a declared type allows you to both create tables with the required schema and later use that type when performing operations with data in the database.

https://github.com/jakearchibald/idb?tab=readme-ov-file#typescript

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions