Edits history of script submission #5 for ' Update record (airtable)'

  • deno
    import { Airtable } from "https://deno.land/x/airtable/mod.ts";
    import { Fields } from "https://deno.land/x/airtable/mod.ts";
    
    type Airtable = {
      apiKey: string;
    };
    export async function main(
      at_con: Airtable,
      recordId: string,
      newRecord: object,
    ) {
      const airtable = new Airtable(at_con);
    
      const updateSingleRecord = await airtable.update<Fields>(recordId, newRecord);
    
      return { message: "Updated single record in table" };
    }
    

    Submitted by admin 1009 days ago

  • deno
    import { Airtable } from "https://deno.land/x/airtable/mod.ts";
    import { Fields } from "https://deno.land/x/airtable/mod.ts";
    
    type Airtable = {
      apiKey: string;
    };
    export async function main(at_con: Airtable, recordId: string, newRecord: object) {
    
      const airtable = new Airtable(at_con);
      
      const updateSingleRecord = await airtable.update<Fields>(recordId, newRecord);
    
      return { message: "Updated single record in table" };
    }

    Submitted by admin 1012 days ago

  • deno
    import { Airtable } from "https://deno.land/x/airtable/mod.ts";
    import { Field } from "https://deno.land/x/airtable/mod.ts";
    
     /*
        @param: {wmill.Resource} at_con - https://hub.windmill.dev/resource_types/12/airtable-apiKey-baseId-tableName
        @param: {int} recordId  id of the record to be updated in table
        @param: {object} newRecord: data to be sent to airtable
        example:
        {
            Name: "Harry",
            Age: 44,
        }
        */
    
    export async function main(at_con: wmill.Resource<"airtable">, recordId: string, newRecord: object) {
    
        const airtable = new Airtable(at_con);
        
        const updateSingleRecord = await airtable.update<Fields>(recordId, newRecord);
    
      return { message: "Updated single record in table" };
    }

    Submitted by rossmccrann 1406 days ago

  • deno
    import { Airtable } from "https://deno.land/x/airtable/mod.ts";
    import { Field } from "https://deno.land/x/airtable/mod.ts";
    
     /*
        @param: {wmill.Resource} at_con - https://hub.windmill.dev/resource_types/12/airtable-apiKey-baseId-tableName
        @param: {int} recordId  id of the record to be updated in table
        @param: {object} newRecord: data to be sent to airtable
        example:
        {
            Name: "Harry",
            Age: 44,
        }
        */
    
    export async function main(at_con: wmill.Resource <"airtable">, recordId: string, newRecord: object) {
    
        const airtable = new Airtable(at_con);
        
        const updateSingleRecord = await airtable.update<Fields>(recordId, newRecord);
    
      return { message: "Updated single record in table" };
    }

    Submitted by rossmccrann 1407 days ago

  • deno
    import { Airtable } from "https://deno.land/x/airtable/mod.ts";
    import { Field } from "https://deno.land/x/airtable/mod.ts";
    
     /*
        @param: {wmill.Resource} at_con - https://hub.windmill.dev/resource_types/12/airtable-apiKey-baseId-tableName
        @param: {int} recordId  id of the record to be updated in table
        @param: {object} newRecord: data to be sent to airtable
        example:
        {
            Name: "Harry",
            Age: 44,
        }
        */
    
    export async function main(at_con: wmill.Resource < "airtable_resource" >, recordId: string, newRecord: object) {
    
        const airtable = new Airtable(at_con);
        
        const updateSingleRecord = await airtable.update<Fields>(recordId, newRecord);
    
      return { message: "Updated single record in table" };
    }

    Submitted by rossmccrann 1412 days ago

  • deno
    import { Airtable } from "https://deno.land/x/airtable/mod.ts";
    import { Field } from "https://deno.land/x/airtable/mod.ts";
    
    
    export async function main(at_con: object, recordId: string) {
        const airtable = new Airtable(at_con);
        type Fields = {
            Name: string;
            Age: number;
        };
        
        const updateSingleRecord = await airtable.update<Fields>(recordId, {
            Name: "Johnny",
            Age: 44,
        });
    
      return { message: "Updated single record in table" };
    }

    Submitted by rossmccrann 1439 days ago