Skip to main content
Module

x/google_datastore/mod.ts>Datastore#commit

A set of APIs that allow interfacing to Google Datastore on GCP from Deno.
Latest
method Datastore.prototype.commit
import { Datastore } from "https://deno.land/x/google_datastore@0.2.1/mod.ts";

Commits a transaction, optionally creating, deleting or modifying some entities.

An async iterable that yields up each commit response for each batch of mutations being sent.

Parameters

mutations: Mutation[]
optional
options: CommitOptions = [UNSUPPORTED]

Returns

AsyncIterableIterator<CommitResponse>