Function ruster::mysqldump_database [−][src]
#[no_mangle]
pub extern "C" fn mysqldump_database(
host: *const c_char,
port: *const c_char,
user: *const c_char,
database: *const c_char,
filename_pattern: *const c_char,
verbose: *const c_char
)
Expand description
Example
// Golang
os.Getenv("MYSQL_ROOT_PASSWORD");
C.mysqldump_database(
C.CString("localhost"),
C.CString("3306"),
C.CString("root"),
C.CString("mysql"),
C.CString("dump.sql"),
C.CString("true"),
);