UNPKG

tinybird-sdk

Version:
21 lines 1.13 kB
declare namespace _default { function getAllDatasources(): Promise<object>; function getDatasource(name: string): Promise<object>; function createDatasource(name: string, schema: string): Promise<object>; function createDatasourceFromFile(): Promise<boolean>; function alterDatasource(name: string, schema: string): Promise<object>; function renameDatasource(name: string, newName: string): Promise<object>; function dropDatasource(name: string): Promise<boolean>; function appendRows(name: string, rows: object, format?: string | undefined): Promise<boolean>; function replaceWithRows(): Promise<boolean>; function appendFile(name: string, filePath: object): Promise<boolean>; function replaceWithFile(): Promise<boolean>; function deleteRows(name: string, condition: string): Promise<boolean>; function truncateDatasource(name: string): Promise<boolean>; function sendEvents(name: string, events: object, wait?: boolean): Promise<{ successful_rows: number; quarantined_rows: number; }>; } export default _default; //# sourceMappingURL=datasources.d.ts.map