loopbackio / loopback-connector-couchdb2

LoopBack Connector for Couchdb
Other
12 stars 11 forks source link

refactor: migrate #69

Closed jannyHou closed 5 years ago

jannyHou commented 5 years ago

Description

connect to https://github.com/strongloop/loopback-connector-cloudant/pull/225.

To support partitioned index in cloudant connector, I refactored some inner functions into private functions.

The new cloudant driver supports {partitioned: true/false} as a property when create the index, while nano hasn't yet(and treat partitioned as an invalid property), that's why the index object generation functions in the couchdb connector still takes in fields only, instead of an object with property fields, partitioned.

Related issues

Checklist

jannyHou commented 5 years ago

@slnode test please

rmg commented 5 years ago

@slnode test please

jannyHou commented 5 years ago

@slnode test please