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

PrimaryCursor to also be an array? #19

Open
arfath-linklet opened this issue Oct 1, 2024 · 0 comments
Open

PrimaryCursor to also be an array? #19

arfath-linklet opened this issue Oct 1, 2024 · 0 comments

Comments

@arfath-linklet
Copy link

In cases where the deterministic primary column is not a single column but a compound/composite key, we'd need a 'primaryCursor' array.

Currently experimenting with adding the first half of composite key to be in the 'cursors' array instead like so:

cursors: [
    { order: "ASC", key: 'createdAt', schema: Table.createdAt },
    { order: "ASC", key: "composite1", schema: Table.composite1 }
],
primaryCursor: { order: "ASC", key: "composite2", schema: Table.composite2 }
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