-
-
Notifications
You must be signed in to change notification settings - Fork 16
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
Feature: SQLite Support #956
Conversation
packages/engine/src/main/kotlin/elide/runtime/core/lib/NativeLibraries.kt
Outdated
Show resolved
Hide resolved
packages/graalvm/src/main/kotlin/elide/runtime/gvm/internals/sqlite/SqliteQueryRenderer.kt
Show resolved
Hide resolved
packages/graalvm/src/main/kotlin/elide/runtime/gvm/internals/sqlite/SqliteQueryRenderer.kt
Show resolved
Hide resolved
packages/graalvm/src/main/kotlin/elide/runtime/gvm/sqlite/SQLite.kt
Outdated
Show resolved
Hide resolved
packages/graalvm/src/main/kotlin/elide/runtime/intrinsics/sqlite/SQLiteTransaction.kt
Outdated
Show resolved
Hide resolved
packages/graalvm/src/test/kotlin/elide/runtime/gvm/js/node/GenericJsModuleTest.kt
Outdated
Show resolved
Hide resolved
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #956 +/- ##
==========================================
+ Coverage 53.75% 54.81% +1.06%
==========================================
Files 380 391 +11
Lines 11012 11537 +525
Branches 1807 1918 +111
==========================================
+ Hits 5919 6324 +405
- Misses 4591 4661 +70
- Partials 502 552 +50
Flags with carried forward coverage won't be shown. Click here to find out more.
... and 1 file with indirect coverage changes Continue to review full report in Codecov by Sentry.
|
6fcf89b
to
76549d7
Compare
dd87d74
to
2b7a283
Compare
- feat(sqlite): add native sqlite driver - feat(js): add js module for sqlite access - test: add testsuite for sqlite - test: add guest-side tests for sqlite (js) - chore: update runtime modules - chore: update to latest sqlite jdbc/jni version Signed-off-by: Sam Gammon <sam@elide.ventures>
Quality Gate passedIssues Measures |
Summary
Adds support for SQLite, with access available via host or guest-side methods; small build fixes otherwise. Does not ship transaction support yet.
Changelog
BoundResource
/LifecycleBoundResources
pattern inbase
Known Issues
We will need to patch the JS module loader to support our custom built-ins prefix, i.e.
import x from 'elide:something';
. In the meantime, built-in Elide modules are exposed at<module>
, with no prefix.