Skip to main content
Module

x/sqlite/browser/mod.ts>write

Deno SQLite module
Go to Latest
function write
import { write } from "https://deno.land/x/sqlite@v3.7.2/browser/mod.ts";

Overwrite a given file with arbitrary data. This can be used to import a database which can later be opened.

Parameters

file: string
data: Uint8Array

Returns

Promise<void>