Lines Matching refs:DatabaseName
43 use crate::{Connection, DatabaseName, Result};
62 name: DatabaseName<'_>, in backup()
68 let backup = Backup::new_with_names(self, name, &mut dst, DatabaseName::Main)?; in backup()
100 name: DatabaseName<'_>, in restore()
106 let restore = Backup::new_with_names(&src, DatabaseName::Main, self, name)?; in restore()
184 Backup::new_with_names(from, DatabaseName::Main, to, DatabaseName::Main) in new()
198 from_name: DatabaseName<'_>, in new_with_names()
200 to_name: DatabaseName<'_>, in new_with_names()
309 use crate::{Connection, DatabaseName, NO_PARAMS};
361 Backup::new_with_names(&src, DatabaseName::Temp, &mut dst, DatabaseName::Main) in test_backup_temp()
375 Backup::new_with_names(&src, DatabaseName::Temp, &mut dst, DatabaseName::Main) in test_backup_temp()
403 DatabaseName::Attached("my_attached"), in test_backup_attached()
405 DatabaseName::Main, in test_backup_attached()
421 DatabaseName::Attached("my_attached"), in test_backup_attached()
423 DatabaseName::Main, in test_backup_attached()