Is it possible to use extensions with op-sqlite #452
-
Hi, I was wondering if powersync's integration with op-sqlite allows for the use of extensions which are usable with op-sqlite. I see you have enabled the crypto extension, but cannot see any documentation for other extensions such as sqlite-vec or fts5. Is this currently possible or something that might be added in the near future? based on #350, it could be done by exposing the option from op-sqlite which enables the extension, which is similar to that of crypt thanks |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
We currently don't expose the |
Beta Was this translation helpful? Give feedback.
-
Hey, I am using spatialite extension with op-sqlite and I would like to sync it with PostGIS using PowerSync, is there an ETA to expose the extension loading API with op-sqlite, I think that would ease the sync process in geo-spatial data and other extensions. |
Beta Was this translation helpful? Give feedback.
-
@AJPASHA and @abdelhameedhamdy we have made a release allowing this in @powersync/op-sqlite 0.3.0 :). More info can be found here https://github.com/powersync-ja/powersync-js/tree/main/packages/powersync-op-sqlite#loading-sqlite-extensions |
Beta Was this translation helpful? Give feedback.
@AJPASHA and @abdelhameedhamdy we have made a release allowing this in @powersync/op-sqlite 0.3.0 :). More info can be found here https://github.com/powersync-ja/powersync-js/tree/main/packages/powersync-op-sqlite#loading-sqlite-extensions