There's nothing in the way of official documentation about writing third-party database backends. I guess the best approach would be to look through the source code of database engines in Django as well as the projects you mentioned and learn from that. If we can add any hooks to Django to help out your effort, let us know.
On Saturday, June 13, 2015 at 5:14:40 PM UTC-4, Mark Nunberg wrote: > > Hi folks! > > I apologize in advance if this is the wrong venue for this discussion > > I'm trying to determine the best means by which I might be able to add > Couchbase (http://www.couchbase.com) support to Django. I've come across > something called "django-nonrel" - it seems to have scarce documentation > and doesn't seem to have much activity as of late. I've also seen that > another non-relational database (Cassandra) has a django backend that > bypasses the nonrel fork, though its README ( > https://github.com/r4fek/django-cassandra-engine) seems to suggest one > needs to use cqlengine for this? > > Admittedly, I'm fairly new to Django itself - though I maintain the > Couchbase Python client, and there's been some demand for this feature. > > In relation to traditional RDBMs, Couchbase has: > > * SQL-like query language (N1QL) for *searching* (currently JOINS are > only supported where one of the sides is a PK). Note this only works for > searches, not updates/inserts > * CRUD operations > * There's also views, but I'm guessing anything expressible as a view can > also be expressed in terms of N1QL > > Can someone point me in the right direction of what to read first? > > Regards, > Mark > -- You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/django-developers. To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/9a40b301-0b6c-405d-99bb-c3ba861e7c2b%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
