- Notifications
You must be signed in to change notification settings - Fork514
Open
Description
... query_one ...
``` //doesnt work if pg_error.code().is_some_and( |e| e.eq(&tokio_postgres::error::SqlState::NO_DATA ) ) { println!(" no data "); return Ok(None); } //does work.. unfortunately.. insane but OK for now let error_str = format!("{:?}", pg_error); if error_str.contains("RowCount") { println!(" row count "); return Ok(None); }
Metadata
Metadata
Assignees
Labels
No labels