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

Does not work with examples like orderBy('profile.id') #2

Open
booboothefool opened this issue May 11, 2019 · 1 comment
Open

Does not work with examples like orderBy('profile.id') #2

booboothefool opened this issue May 11, 2019 · 1 comment

Comments

@booboothefool
Copy link

booboothefool commented May 11, 2019

Hi, so what is happening with me is

fetch 1 (ok)

.orderBy('id') => keyset { first: 3, last: 6 }

fetch 2 (fail)
error: column reference "id" is ambiguous"

(so it can't get the 2nd page)


fetch 1 (fail)

.orderBy('profile.id') => keyset {}

(if I try to define it, keyset returns empty)

@tvainika
Copy link
Owner

So your query includes join? I haven't made any tests against join queries, so a full context maybe even in form of test case would be nice. I can definately see some bug here with orderBy('profile.id'), and that I gues sis fixable, but I bet there is also some more complex cases with joins.

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

2 participants