Edits history of script submission #1025 for ' Create Multiple Records (airtable)'

  • deno
    import { Airtable } from "https://deno.land/x/airtable/mod.ts";
    
    type Airtable = {
      apiKey: string;
    };
    
    type AirtableTable = {
      baseId: string;
      tableName: string;
    };
    export async function main(
      atCon: Airtable,
      atTable: AirtableTable,
      recordList: object[],
    ) {
      const airtable = new Airtable({ ...atCon, ...atTable });
    
      const createMultiple = await airtable.create(recordList);
    
      return createMultiple;
    }

    Submitted by hugo697 394 days ago

  • deno
    import { Airtable } from "https://deno.land/x/airtable/mod.ts";
    
    type Airtable = {
      apiKey: string;
    };
    
    type AirtableTable = {
      baseId: string;
      tableName: string;
    };
    export async function main(
      atCon: Airtable,
      atTable: AirtableTable,
      recordList: object[],
    ) {
      const airtable = new Airtable({ ...atCon, ...atTable });
    
      const createMultiple = await airtable.create(recordList);
    
      return createMultiple;
    }

    Submitted by hugo697 1024 days ago