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

Expose database in AndroidSqliteDriver #5077

Open
DatL4g opened this issue Mar 17, 2024 · 0 comments
Open

Expose database in AndroidSqliteDriver #5077

DatL4g opened this issue Mar 17, 2024 · 0 comments
Labels

Comments

@DatL4g
Copy link

DatL4g commented Mar 17, 2024

Description

Some Android components (e.g. ContentProvider) require an android.database.Cursor.
I understand that there is not direct support for this like an extension function to map a app.cash.sqldelight.SqlCursor to android.database.Cursor.

However if we could access the database object from AndroidSqliteDriver we could query operations ourself and retrieve the desired Cursor.

@DatL4g DatL4g added the feature label Mar 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant