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

Persistent backend(s) #3

mattwynne opened this Issue Jul 11, 2018 · 1 comment


None yet
1 participant

mattwynne commented Jul 11, 2018

Suggested API:

class Accounts extends DocumentStore.define('accountUid') {}
const store = await Accounts.usingBackend(new GoshPgBackend({ connectionPool, storeName: 'accounts'}})
// or
const store = await Accounts.usingBackend(new GoshRedisBackend({ client, storeName: 'accounts'}})

storeName will have to be unique within the connectionPool or client.

@mattwynne mattwynne changed the title from Postgres backend to Persistent backend(s) Jul 11, 2018


This comment has been minimized.


mattwynne commented Jul 12, 2018

84c1392 is a little bit of progress

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment