A
Size: a a a
A
A
P
P
AD
PP
AD
PP
AD
PP
A
1000000000000000000: [-////+/++//+//++///-/--//-//--///-/-/-//-/--//++////+////--//-]
Done in 107 ms
A
P
A
A
(L
pub fn insert_values_into_table_album(&mut self, album: &Vec<&str>) -> Result<()> {
let a = album;
if album.len()!=4{return Err(rusqlite::Error::InvalidParameterCount(album.len(), 4));}
self.conn.execute(
&format!("INSERT INTO albums (name, description, release_date, band_id) VALUES (?1, ?2, ?3, ?4)", ),
params![a[0], a[1], a[2], a[3]]
)?;
Ok(())
}
cargo fmt --all
P
УМ
cargo fmt --all