Skip to content

How to define table durability, sharding and replication? #3

@nardeas

Description

@nardeas

Hi,

I tried to pass some additional options to createModel that would allow me to define table durability, sharding and replication as supported by Rethink's tableCreate. I assumed the following configuration would work:

thinkagain.createModel('MyModel', <schema>, {
      durability: 'hard',
      shards: 3,
      replicas: 1      
    }
);

but apparantly passing these options is not supported. Is there any other way to set these options?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions