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

feat(sql): add sql standard interfaces #5

Open
wants to merge 17 commits into
base: main
Choose a base branch
from
Open

feat(sql): add sql standard interfaces #5

wants to merge 17 commits into from

Conversation

halvardssm
Copy link
Owner

@halvardssm halvardssm commented May 30, 2024

Status: semi-stable (can be changed if community reaches other consensus)
JSR: https://jsr.io/@stdext/sql/versions

This was origionally created and discussed here.

Reason

Having a standardized interface for relational databases in JavaScript and TypeScript has been brought up every now and then in the Deno DB community, but as Deno was still in its early days, and the community was young, it was never started. However, as Deno is becoming more stable, supports NPM and Node, and we got JSR, it is time to consolidate and create a standard for relational (sql-based) database clients.

Implementations

@codecov-commenter
Copy link

codecov-commenter commented May 30, 2024

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

Attention: Patch coverage is 74.30876% with 223 lines in your changes missing coverage. Please review.

Project coverage is 88.82%. Comparing base (76de73f) to head (85605ad).

Files Patch % Lines
sql/asserts.ts 54.05% 170 Missing ⚠️
sql/testing.ts 88.93% 25 Missing ⚠️
sql/events.ts 79.26% 17 Missing ⚠️
collections/deferred_stack.ts 95.97% 6 Missing and 1 partial ⚠️
sql/errors.ts 50.00% 4 Missing ⚠️

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##             main       #5      +/-   ##
==========================================
- Coverage   90.40%   88.82%   -1.59%     
==========================================
  Files          12       19       +7     
  Lines        7935     8803     +868     
  Branches       67       95      +28     
==========================================
+ Hits         7174     7819     +645     
- Misses        761      983     +222     
- Partials        0        1       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

sql/pool.ts Outdated Show resolved Hide resolved
sql/testing.ts Outdated Show resolved Hide resolved
sql/asserts.ts Outdated Show resolved Hide resolved
sql/asserts.ts Show resolved Hide resolved
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

Successfully merging this pull request may close these issues.

3 participants