Assigned
Status Update
Comments
da...@google.com <da...@google.com> #2
there are some image for help
da...@google.com <da...@google.com> #3
hello?
[Deleted User] <[Deleted User]> #4
These interfaces look perfectly reasonable, yeah. D1 isn't exotic, it's just SQLite under the hood, so I think all this needs is a JS target for Room's common components. The driver piece doesn't scare us, thank you for sharing that link.
Such an adapter could probably support Bun and other SQLite interfaces in JavaScript as well. If we do the work to build an adapter and it isn't specific to our codebase, we'd be happy to release it OSS.
fe...@atto.cash <fe...@atto.cash> #5
Hi there,
Happy holidays! 🎄🎉
With the recent addition of JavaScript target support in androidx, I was wondering if there's any chance the work on Room support for JavaScript could be resumed.
Happy holidays! 🎄🎉
With the recent addition of JavaScript target support in androidx, I was wondering if there's any chance the work on Room support for JavaScript could be resumed.
Description
Component used: Room
Version used: Latest alpha (2.7.0-alpha06)
Devices/Android versions reproduced on: N/A
Feature request
Please consider providing JavaScript SQLite support.
Rationale
We are using Room in a multi-platform app, where multiple targets share a database definition. Our end-user targets are:
But we also ship for an "edge" target, which compiles to JavaScript. This target runs on CDN servers which have access to SQLite, through Cloudflare's D1 interface.
We want to access D1 with Room someday. If an interface was provided for implementing a database driver in JavaScript, we would happily write a library that bridges Room's operations to D1 for our app.
SQLite support isn't necessarily uniform across JavaScript engines, so it would be helpful if there were an integration route that allows a custom driver implementation.