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
Here's a usecase that I have: I'd like to keep my data and my code separate. So I have a config file for data that includes the tableName and baseId, which I'm feeding dynamically to my gatsby-config.js; this works fine. I can separate out different tables (and filter for what I want) with a single query in my gatsby-node.js that's something like this:
That's great. Is there a way, however to retrieve the basename through GraphQL? I can imagine an instance where I'm pulling in data from different bases that share the same table name. I'd like to be able to be able to get the base name from the table data, if that's possible.
The text was updated successfully, but these errors were encountered:
Hi! This plugin in great, thanks.
Here's a usecase that I have: I'd like to keep my data and my code separate. So I have a config file for data that includes the tableName and baseId, which I'm feeding dynamically to my
gatsby-config.js
; this works fine. I can separate out different tables (and filter for what I want) with a single query in mygatsby-node.js
that's something like this:That's great. Is there a way, however to retrieve the basename through GraphQL? I can imagine an instance where I'm pulling in data from different bases that share the same table name. I'd like to be able to be able to get the base name from the table data, if that's possible.
The text was updated successfully, but these errors were encountered: