Skip to main content
Module

x/google_datastore/mod.ts>objectSetKey

A set of APIs that allow interfacing to Google Datastore on GCP from Deno.
Go to Latest
function objectSetKey
import { objectSetKey } from "https://deno.land/x/google_datastore@0.0.14/mod.ts";

Assign a datastore Key to a JavaScript object. This key will then be set in any resulting Entity.

Parameters

obj: unknown
key: Key