mirror of
https://github.com/launchbadge/sqlx.git
synced 2026-03-19 08:39:44 +00:00
Implement DataRow and CommandComplete
This commit is contained in:
@@ -12,10 +12,18 @@ pub async fn query<'a: 'b, 'b>(conn: &'a mut Connection, query: &'b str) -> io::
|
||||
// Do nothing
|
||||
}
|
||||
|
||||
Message::DataRow(_) => {
|
||||
// Do nothing (for now)
|
||||
}
|
||||
|
||||
Message::ReadyForQuery(_) => {
|
||||
break;
|
||||
}
|
||||
|
||||
Message::CommandComplete(_) => {
|
||||
// Do nothing (for now)
|
||||
}
|
||||
|
||||
message => {
|
||||
unimplemented!("received {:?} unimplemented message", message);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user