Interface NocoDBV2NodeParameters

Source
interface NocoDBV2NodeParameters {
    authentication?: "nocoDb" | "nocoDbApiToken";
    base64value?: string;
    contentType?: string;
    dataToSend?: "autoMapInputData" | "mapWithFields";
    downloadAttachments?: boolean;
    downloadFieldNames?: unknown[];
    filename?: string;
    id?: string;
    inputsToIgnore?: string;
    limit?: number;
    linkFieldName?: { mode: "id" | "list"; value: string };
    linkId?: string;
    operation?:
        | "create"
        | "get"
        | "getAll"
        | "update"
        | "list"
        | "delete"
        | "upsert"
        | "search"
        | "upload"
        | "link"
        | "count"
        | "unlink";
    options?: | { where?: string }
    | {
        fields?: unknown[];
        page?: number;
        shuffle?: boolean;
        sort?: {
            property: {
                direction?: "asc" | "desc";
                field?: { mode: "id" | "list"; value: string };
            }[];
        };
        viewId?: { mode: "id"
        | "list"; value: string };
        where?: string;
    }
    | {
        fields?: {
            items: {
                field?: { mode: "id"
                | "list"; value: string };
            }[];
        };
        sort?: {
            property: {
                direction?: "asc"
                | "desc";
                field?: { mode: "id" | "list"; value: string };
            }[];
        };
        where?: string;
    };
    projectId?: { mode: "id"
    | "list"; value: string };
    resource?: "base" | "row" | "linkrow";
    returnAll?: boolean;
    table?: { mode: "id" | "list"; value: string };
    uploadFieldName?: {
        mode: "id" | "list";
        value: string;
    };
    uploadMode?: "url"
    | "base64";
    url?: string;
    workspaceId?: { mode: "id" | "list"; value: string };
}

Properties§

§readonly authentication?: "nocoDb" | "nocoDbApiToken"

Default: "nocoDb"

§readonly base64value?: string

Base64 value of file that will be upload

§readonly contentType?: string

Content type of file

§readonly dataToSend?: "autoMapInputData" | "mapWithFields"

Whether to insert the input data this node receives in the new row Default: "mapWithFields"

§readonly downloadAttachments?: boolean

Whether the attachment fields defined in 'Download Fields' will be downloaded

§readonly downloadFieldNames?: unknown[]

Names of the fields of type 'attachment' that should be downloaded. Choose from the list, or specify IDs using an expression. Default: [] Type options: {"loadOptionsMethod":"getDownloadFields"}

§readonly filename?: string

Name of uploaded file

§readonly id?: string

The value of the ID field

§readonly inputsToIgnore?: string

List of input properties to avoid sending, separated by commas. Leave empty to send all properties.

§readonly limit?: number

Max number of results to return Default: 50 Type options: {"minValue":1,"maxValue":100}

§readonly linkFieldName?: { ... }

Name of the fields of type 'link' that will be uploaded. Choose from the list, or specify an ID using an expression. Default: {"mode":"list","value":""} Type options: {"loadOptionsDependsOn":["table.value"]}

§readonly linkId?: string

The ID of record in table Default: [] Type options: {"multipleValues":true}

§readonly operation?:
    | "create"
    | "get"
    | "getAll"
    | "update"
    | "list"
    | "delete"
    | "upsert"
    | "search"
    | "upload"
    | "link"
    | "count"
    | "unlink"

Default: "get"

§readonly options?:
    | { where?: string }
    | {
        fields?: unknown[];
        page?: number;
        shuffle?: boolean;
        sort?: {
            property: {
                direction?: "asc" | "desc";
                field?: { mode: "id" | "list"; value: string };
            }[];
        };
        viewId?: { mode: "id"
        | "list"; value: string };
        where?: string;
    }
    | {
        fields?: {
            items: {
                field?: { mode: "id"
                | "list"; value: string };
            }[];
        };
        sort?: {
            property: {
                direction?: "asc"
                | "desc";
                field?: { mode: "id" | "list"; value: string };
            }[];
        };
        where?: string;
    }

Default: {}

§readonly projectId?: { ... }

Choose from the list, or specify an ID using an expression Default: {"mode":"list","value":""} Type options: {"loadOptionsDependsOn":["workspaceId.value"]}

§readonly resource?: "base" | "row" | "linkrow"

Default: "row"

§readonly returnAll?: boolean

Whether to return all results or only up to a given limit

§readonly table?: { ... }

The table to operate on. Choose from the list, or specify an ID using an expression. Default: {"mode":"list","value":""} Type options: {"loadOptionsDependsOn":["projectId.value"]}

§readonly uploadFieldName?: { ... }

Name of the fields of type 'attachment' that will be uploaded. Choose from the list, or specify an ID using an expression. Default: {"mode":"list","value":""} Type options: {"loadOptionsDependsOn":["table.value","uploadMode"]}

§readonly uploadMode?: "url" | "base64"

Choose a way to perform the upload Default: "base64"

§readonly url?: string

URL of file that will be uploaded

§readonly workspaceId?: { ... }

Choose from the list, or specify an ID using an expression Default: {"mode":"list","value":""}