Skip to content
On this page

Home > @plaidev/karte-action-sdk > widget > collection$0

widget.collection$0() function

アクションテーブルを操作するオブジェクト

Signature:

typescript
function collection$0(table: string): {
        get(key: string | string[], cb: (err: Error, items?: (string | number | boolean | Date) | (string | number | boolean | Date)[]) => void): void;
        getByQuery(query_name: string, params: {
            [key: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
        }, options: {
            ignore_fields?: string[];
        }, cb: (err: Error, items?: (string | number | boolean | Date)[]) => void): void;
        set(key: string, value: string, cb: (err: Error) => void): void;
    };

Parameters

ParameterTypeDescription
tablestringアクションテーブル名

Returns:

{ get(key: string | string[], cb: (err: Error, items?: (string | number | boolean | Date) | (string | number | boolean | Date)[]) => void): void; getByQuery(query_name: string, params: { [key: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[]; }, options: { ignore_fields?: string[]; }, cb: (err: Error, items?: (string | number | boolean | Date)[]) => void): void; set(key: string, value: string, cb: (err: Error) => void): void; }