Skip to content

Option to set database name respectively split data into multiple databases #173

@PiTomar

Description

@PiTomar

Hello,
is there an option to set a specific database name?
I would like to split my data in two different databases.

In the hoodie-client example there is no db-name option an everything is stored in _pouch_hoodie and _poch_store.
In the store-client example there is a db name parameter:

var Store = require('@hoodie/store-client')
var store = new Store('mydbname', {
  PouchDB: require('pouchdb'),
  remote: 'http://localhost:5984/mydbname'
})

So is there a way to set the db name also in the hoodie-client api?
Or could I combine the store-client initialization with the hoodie-client init or is there maybe an option to set the db name in the PouchDB.default?

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions