surrealdb.wasm icon indicating copy to clipboard operation
surrealdb.wasm copied to clipboard

Feature: Add `export`/`import` support for `indexeddb` ?

Open ibilux opened this issue 2 years ago • 2 comments

Is your feature request related to a problem?

/

Describe the solution

/

Alternative methods

/

SurrealDB version

0.6.0 for Linux

Contact Details

No response

Is there an existing issue for this?

  • [X] I have searched the existing issues

Code of Conduct

  • [X] I agree to follow this project's Code of Conduct

ibilux avatar Aug 23 '23 08:08 ibilux

The import and export methods are currently not supported on Wasm in the Rust SDK. That's because of the use of file system APIs which are not available on Wasm. The SDK does support exporting to a stream of bytes now though, so it should be possible to make that available on Wasm.

rushmorem avatar Feb 15 '24 08:02 rushmorem