.prepare(&format!("SELECT id, author, email, text, timestamp FROM comment WHERE content_id='{content_id}' AND parent IS NULL ORDER BY timestamp DESC"))?
.prepare("SELECT id, author, email, text, timestamp FROM comment WHERE content_id=?1 AND parent IS NULL ORDER BY timestamp DESC")?
.query_map([],|row|{
.query_map(params![content_id],|row|{
letid=row.get::<usize,Option<i64>>(0)?.unwrap();
letid=row.get::<usize,Option<i64>>(0)?.unwrap();
letreplies=self.conn
letreplies=self.conn
.prepare(&format!("SELECT id, author, email, text, timestamp FROM comment WHERE parent={id}"))?
.prepare("SELECT id, author, email, text, timestamp FROM comment WHERE parent=?1")?