Guidelines for unit testing with PowerSync
powersync-sqlite-core
binary in your project’s root directory.
powersync-sqlite-core
.powersync_x64.dll
to powersync.dll
libpowersync_aarch64.dylib
to libpowersync.dylib
libpowersync_x64.so
to libpowersync.so
sqlite3
in your command-line interface.PRAGMA compile_options;
ENABLE_LOAD_EXTENSION
.ENABLE_LOAD_EXTENSION
, it means extension loading is enabled.sqlite3
in your command-line interface..load /path/to/file/libpowersync.dylib
(macOS) or .load /path/to/file/libpowersync.so
(Linux) or .load /path/to/file/powersync.dll
(Windows).