Skip to content

Instantly share code, notes, and snippets.

@marshallvaughn
Last active July 16, 2020 23:46
Show Gist options
  • Save marshallvaughn/39acea10d031e1935b2d7dc7c4e8bbe9 to your computer and use it in GitHub Desktop.
Save marshallvaughn/39acea10d031e1935b2d7dc7c4e8bbe9 to your computer and use it in GitHub Desktop.
List the tables and fields of each table via script in Airtable.
for (let t of base.tables) {
let md = `#### ${t.name}\n`;
for (let f of t.fields) {
md += `\n- ${f.name}`;
}
output.markdown(md);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment