interface MetabaseNodeParameters {
alertId?: string;
databaseId?: string;
dbName?: string;
engine?:
| "mysql"
| "postgres"
| "sqlite"
| "h2"
| "mongo"
| "redshift";
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?:
| "mysql"
| "postgres"
| "sqlite"
| "h2"
| "mongo"
| "redshift"§
readonly file Path?: string§readonly format?: "json" | "csv" | "xlsx"Default: "csv"
readonly full Sync?: booleanDefault: true
readonly host?: string§readonly metric Id?: string§readonly name?: string§readonly operation?:
| "get"
| "getAll"
| "getFields"
| "resultData"
| "addNewDatasource"Default: "getAll"
readonly password?: stringType options: {"password":true}
readonly port?: numberDefault: 5432
readonly question Id?: string§readonly resource?: "questions" | "alerts" | "databases" | "metrics"Default: "questions"
readonly simple?: booleanWhether to return a simplified version of the response instead of the raw data Default: true
readonly user?: string
Default: "postgres"