touchlab / SQLiter

Minimal multiplatform sqlite library
https://touchlab.co
177 stars 35 forks source link

Expose database pointer #73

Closed DanielRBaird closed 2 years ago

DanielRBaird commented 2 years ago

This would allow users to access the db pointer without having to expose the SqliteDatabase and without requiring casting to the NativeDatabaseConnection.

As discussed here: https://github.com/touchlab/SQLiter/pull/67, sometimes the db pointer is needed to perform specific tasks with the db. I think it would be better to expose this intentionally as part of the api rather than having to access this by casting to the native database connection.

DanielRBaird commented 2 years ago

@kpgalligan, thoughts on this?