Skip to main content
Module

x/google_datastore/mod.ts>objectToEntity

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

A function which converts most JavaScript objects to entities that can be stored in Google Datastore. If the object as a toEntity symbol method, it will be used to serialize the entity.

Parameters

obj: any