Update .gitignore, add dist directory
This commit is contained in:
Vendored
+17
@@ -0,0 +1,17 @@
|
||||
import type { BunMariaDBConfig } from "../types";
|
||||
/**
|
||||
* Prefer mariadb-dump, fall back to mysqldump.
|
||||
*/
|
||||
export declare function resolveDumpBinary(): string;
|
||||
/**
|
||||
* Prefer mariadb client, fall back to mysql.
|
||||
*/
|
||||
export declare function resolveClientBinary(): string;
|
||||
/**
|
||||
* Dump the configured database to an SQL string.
|
||||
*/
|
||||
export declare function dumpDatabase(config: BunMariaDBConfig): Promise<string>;
|
||||
/**
|
||||
* Restore an SQL dump into the configured database.
|
||||
*/
|
||||
export declare function restoreDatabase(config: BunMariaDBConfig, sql: string): Promise<void>;
|
||||
Reference in New Issue
Block a user