Introduction

Introduction

gstore-node is a Google Datastore entities modeling library for Node.js inspired by Mongoose and built on top of the @google-cloud-node library.

Hightlight

  • explicit Schema declaration for entities

  • properties type validation

  • properties value validation

  • shortcuts queries

  • pre & post middleware (hooks)

  • custom methods on entity instances

  • Joi type and validation (documentation)

  • ​cache layer to speed up entities fetching

  • ​Typescript support

  • ​populate() support to fetch reference entities and do cross Entity Type "joins" when querying one or multiple entities

Repository

​https://github.com/sebelga/gstore-node​

Support

​https://github.com/sebelga/gstore-node/issues​