Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
nardeas opened this issue Aug 8, 2017 · 0 comments
Open

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

nardeas opened this issue Aug 8, 2017 · 0 comments

Comments

@nardeas
Copy link

nardeas commented Aug 8, 2017

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant