gstore-node
v7.x
v7.x
  • Introduction
  • Getting Started
    • Motivation
    • Installation
    • Create a gstore instance
  • Schema
    • About
    • Type validation
    • Value validation
    • Additional properties settings
    • Schema options
    • Joi Schema
    • Methods
      • path()
      • virtual()
    • Custom methods
  • Model
    • Creation
    • Methods
      • GET
      • UPDATE
      • DELETE
      • excludeFromIndexes()
      • key()
      • sanitize()
      • clearCache()
  • Entity
    • Creation
    • Properties
    • Methods
      • SAVE
      • plain()
      • populate()
      • model()
      • datastoreEntity()
      • validate()
  • Queries
    • @google-cloud Query
    • list()
    • findOne()
    • deleteAll()
    • findAround()
  • Populate
  • Middleware (hooks)
    • About
    • Pre hooks
    • Post hooks
  • Cache / Dataloader
    • Dataloader
    • Cache
  • gstore Methods
    • save()
  • Typescript
  • Appendix
    • Error Codes
    • Credits
Powered by GitBook
On this page
  • Introduction
  • Hightlight
  • Repository
  • Support

Was this helpful?

Introduction

NextGetting Started

Last updated 6 years ago

Was this helpful?

Introduction

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

Hightlight

  • explicit Schema declaration for entities

  • properties type validation

  • properties value validation

  • shortcuts queries

  • pre & post middleware (hooks)

  • custom methods on entity instances

Repository

Support

Joi type and validation ()

layer to speed up entities fetching

support

support to fetch reference entities and do cross Entity Type "joins" when querying one or multiple entities

documentation
cache
Typescript
populate()
https://github.com/sebelga/gstore-node
https://github.com/sebelga/gstore-node/issues
@google-cloud-node