-
Notifications
You must be signed in to change notification settings - Fork 168
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
[feat]: Relations / references #265
Comments
you can just do a left join. to join the tasks table with the user table. you can show whatever that way |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Feature description
I have a table with
userId
field, but it is not helpful to display it as is, instead It would be nice to have the ability to easily add columns from the referenced table (user.name
):p.s. I've tried it myself, it did work, but it's very hacky and also type for
DataTableFilterField.value
had to be changed to string, because the id of my column wasuser_name
as a result of referencingAdditional Context
Also, maybe we can utilize dynamic query building for better types and more reusability:
https://orm.drizzle.team/docs/dynamic-query-building
Before submitting
The text was updated successfully, but these errors were encountered: