set method

JSPromise<JSAny?> set(
  1. JSAny? value, [
  2. JSFunction onComplete
])

Writes data to this Database location.

Implementation

external JSPromise set(
  JSAny? value, [
  // (a: Error | null) => void
  JSFunction onComplete,
]);