/django-arangodb

Django database backend for ArangoDB

Primary LanguagePythonApache License 2.0Apache-2.0

Django ArangoDB Backend

Provides a Django database backend to use with ArangoDB graph database.

Take a look a this other project: https://github.com/timothygraefe/djarango.git

Progress

  • ✓ _key as Pk.

  • ✓ Backend structure.

  • ✓ INSERT.

  • ❏ bulk INSERT (need testing).

  • ✓ GET.

  • ✓ FILTER (single attribute, multiple attibutes, chaining).

  • ✓ FILTER - lookups.

  • ✓ DELETE.

  • ❏ bulk DELETE.

  • ❏ UPDATE.

  • ❏ Relations.

  • ❏ Migrations (some work done, waiting for relations).

  • ❏ Dajngo.contrib (waiting for migrations).

  • ❏ …​

Ideas

Nice things allowed by ArangoDB that can be implemented:

  • Per-document check on bulk inserts.

  • GraphQL single trip subqueries.

  • Extra operators ALL IN, NONE IN, ANY, ALL

Other ideas:

  • Custom driver (it uses python-arango).

  • Graphql endpoint.

  • Templates.

  • Graphviz output.