Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- let stmts = future::try_join_all(vec![
- client.prepare(&format!(
- "select * from {} where not_deleted = 't'",
- ManagedTargetMountRecord::table_name()
- )),
- client.prepare(&format!(
- "select * from {} where not_deleted = 't'",
- StratagemConfiguration::table_name()
- )),
- client.prepare(&format!(
- "select * from {} where not_deleted = 't'",
- LnetConfigurationRecord::table_name()
- )),
- client.prepare(&format!(
- "select * from {} where not_deleted = 't'",
- VolumeNodeRecord::table_name()
- )),
- client.prepare(&format!(
- "select * from {} where not_deleted = 't'",
- OstPoolRecord::table_name()
- )),
- client.prepare(&format!(
- "select * from {}",
- OstPoolOstsRecord::table_name()
- )),
- ])
- .await?;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement