Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Database API #176

Open
halvardssm opened this issue Oct 22, 2024 · 0 comments
Open

Database API #176

halvardssm opened this issue Oct 22, 2024 · 0 comments

Comments

@halvardssm
Copy link

Introduction

This proposal is for a standardized interface for SQL-like database drivers.

Introducing a simple and standardized Database API would improve the development experience for many developers, and simplify the burden of many maintainers for the database drivers as well as libraries integrated with them. SQL-based databases remain a cornerstone of data storage and retrieval in countless applications, ranging from small-scale personal projects to large-scale enterprise systems. However, the current ecosystem of JavaScript database drivers for SQL-based databases is highly fragmented, leading to inconsistent and often incompatible interfaces across different drivers.

This proposal defines the interface for SQL based databases that can serve as a base. These interfaces are intended to be extended upon in the respective implementations, to facilitate their respective expanded functionalities. This standard would also give guidelines for the signature of implementation respective methods.

Read the complete Explainer.

Previous discussions regarding this proposal have taken place in a PR, and this is the last update/state. Further discussion should take place in this issue.

Feedback (Choose One)

Please provide all feedback below.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant