interface MetabaseNodeParameters {
alertId?: string;
databaseId?: string;
dbName?: string;
engine?:
| "postgres"
| "h2"
| "mongo"
| "mysql"
| "redshift"
| "sqlite";
filePath?: string;
format?: "json"
| "csv"
| "xlsx";
fullSync?: boolean;
host?: string;
metricId?: string;
name?: string;
operation?:
| "get"
| "getAll"
| "getFields"
| "resultData"
| "addNewDatasource";
password?: string;
port?: number;
questionId?: string;
resource?: | "questions"
| "alerts"
| "databases"
| "metrics";
simple?: boolean;
user?: string;
}
Properties§
§
§
§
§
§
§
§
§
§
readonly alert Id?: string
§readonly database Id?: string
§readonly db Name?: string
§readonly engine?:
| "postgres"
| "h2"
| "mongo"
| "mysql"
| "redshift"
| "sqlite"
readonly file Path?: string
§readonly format?: "json" | "csv" | "xlsx"
Default: "csv"
readonly full Sync?: boolean
Default: true
readonly host?: string
§readonly metric Id?: string
§readonly name?: string
§readonly operation?:
| "get"
| "getAll"
| "getFields"
| "resultData"
| "addNewDatasource"
Default: "getAll"
readonly password?: string
Type options: {"password":true}
readonly port?: number
Default: 5432
readonly question Id?: string
§readonly resource?: "questions" | "alerts" | "databases" | "metrics"
Default: "questions"
readonly simple?: boolean
Whether to return a simplified version of the response instead of the raw data Default: true
readonly user?: string
Default: "postgres"