Skip to content
This repository has been archived by the owner on Jul 9, 2022. It is now read-only.

Latest commit

 

History

History
29 lines (21 loc) · 1.08 KB

README.md

File metadata and controls

29 lines (21 loc) · 1.08 KB

Google Entity

Google entity uses Google datastore sdk to do crud and search more efficiently than the basic core sdk

Installation

npm i google-entity

Usage

const entity = require("google-entity");
Function Description
addEntities Add multiple entities that have the same kind
addEntity Add an entity
deleteEntitiesFromKeys Delete entities from keys
deleteEntity Delete an entity
getEntities Get an entity by id
getEntitiesByAttributes Get entities of the same kind with attributes
getEntitiesFromKeys Get different entities from keys
getEntity Get an entity by id
updateEntity Update an entity

Tests

npm test