Anyone working on couchdb adaptor (instead of Redis or Mongodb)?
-
@psychobunny said:
Right now there's a postgres adapter in progress, no word of couchdb yet.
Basically you just have to copy the structure and methods found here. If you do try your hand at it, let us know - we'll be happy to guide you along the way
I'm working on mysql :). Wherer did you see the mention of Postgres? I'll take a look at couchdb tomorrow to see what it is.
-
I'm here because I would also like to see this happen, and am willing to help. Has anyone started this? If not I'll start on my own and report back when there is something to see.
-
Cool. We'd love to see more adapters for our dbal. If you run into any issues we'll help put you in the right direction as I know there's no real documentation for how to implement dbal adapters
-
Adapters would be easier if you'd freeze the API
-
The dbal has been relatively stable for quite a while I think
-
Anybody working on the CouchDB adapter?
I'm switching another project from MongoDB to CouchDB and my brain only has room to DBA one type of database at a time.
-
I was scanning through the mongodb records earlier today (looking for the Meta config stuff). It looks like mongdb is being used more like a drop in replacement for Redis, which actually makes sense since Redis is also supported.
Usually (not always, of course) mongodb schemas are divided into multiple collections, like tables. With NodeBB, there are two collections only: objects and sessions. Along these lines Couchbase is a lot more like Redis than is mongodb. And now with N1QL, it's "easier" to query.
Anyway, if I work on a "driver" for couchbase, would a pull request into the main repo be considered?
-
@djensen47 Yep, especially if all tests pass
-
I haven't investigated data exports & imports. I need to get my forum setup before I'll have time to work on Couchbase. Is there a generic way to export data from an instance using mongodb and import it into an instance using couchbase/redis/other?