Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

djorm-db-gcp-datastore

Package Overview
Dependencies
Maintainers
1
Versions
59
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

djorm-db-gcp-datastore

Datastore bindings for djorm

  • 0.1.8-alpha.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
60
decreased by-33.33%
Maintainers
1
Weekly downloads
 
Created
Source

djorm-db-gcp-datastore

Don't expect full support. Datastore is a NoSQL database and it is quite different to relational databases. The drivers supports only simple queries. Perhaps this driver will be able to provide better mapping to djorm queries when Google releases GQL support to @google-cloud/datastore.

Please make sure you check out Datastore docs, especially the part about consistency.

Supported

  • Datastore Namespaces as part of database config
  • Database Model represents Datastore Entity kind
  • Database Model's primary key represents Datastore Entity key (CharField or Number)
  • Filter entities based on primary key
  • Filter entities with simple filter
  • Insert entities
  • Auto generate primary key
  • Update entities via primary key
  • Delete entities via primary key

Todo

  • Driver compatibility layer to limit API to safe options
  • Support complex queries via Conjunctive normal form
  • Batch operations (for example equivalent DELETE FROM table WHERE updated < '2020-10')
  • OR operator abstraction
  • IN / NOT IN comparison operator abstraction
  • Index migrations

Docs

FAQs

Package last updated on 02 Jun 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc