-
-
Notifications
You must be signed in to change notification settings - Fork 130
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
Count on foreign table does not exist in type #479
Labels
bug
Something isn't working
Comments
I have the same problem.
|
Closing in favour of #447 and tracking there |
bnjmnt4n
added a commit
to bnjmnt4n/postgrest-js
that referenced
this issue
Feb 8, 2024
bnjmnt4n
added a commit
to bnjmnt4n/postgrest-js
that referenced
this issue
Feb 23, 2024
bnjmnt4n
added a commit
to bnjmnt4n/postgrest-js
that referenced
this issue
Mar 3, 2024
steve-chavez
pushed a commit
that referenced
this issue
Mar 3, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
Selecting count from a foreign table returns Typescript error. This is my query:
And this is the type of
data
:And more specific:
When selecting
id
instead ofcount
on the foreign table everything works as expected.To Reproduce
See above
Expected behavior
I expect
count: number
to be part of the generated typeScreenshots
The text was updated successfully, but these errors were encountered: