@google-cloud/datastore
Version:
Cloud Datastore Client Library for Node.js
9 lines (8 loc) • 339 B
TypeScript
import { Entity, EntityProto } from '../../entity';
/**
* This function builds the entity proto from the entity object. We cannot
* rely on entity.entityToEntityProto for this because this function is only
* designed to be used for non-array entities.
*
*/
export declare function buildEntityProto(entityObject: Entity): EntityProto;