You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Does someone have a good example on how to adapt the table filters for nested data?
e.g. consider the following schema
-Table 'tasks'
-id
-status
-Table 'task_text'
-id
-task_id
-text
-language
How could I do a DataTableFilterField for task.text when making a drizzle query like db.findMany.tasks { with: text } which returns text as an object inside task?
In the cells I can easily render this with an accessor function, but struggling to combine this with filters.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Does someone have a good example on how to adapt the table filters for nested data?
e.g. consider the following schema
-Table 'tasks'
-id
-status
-Table 'task_text'
-id
-task_id
-text
-language
How could I do a DataTableFilterField for
task.text
when making a drizzle query likedb.findMany.tasks { with: text }
which returnstext
as an object insidetask
?In the cells I can easily render this with an accessor function, but struggling to combine this with filters.
Beta Was this translation helpful? Give feedback.
All reactions