We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0c3f3b1 commit 5561e7bCopy full SHA for 5561e7b
1 file changed
src/lib.rs
@@ -1589,6 +1589,11 @@ impl<'a> PostgresCopyInStatement<'a> {
1589
conn.close_statement(self.name.as_slice())
1590
}
1591
1592
+ /// Returns a slice containing the expected column types.
1593
+ pub fn column_types(&self) -> &[PostgresType] {
1594
+ self.column_types.as_slice()
1595
+ }
1596
+
1597
/// Executes the prepared statement.
1598
///
1599
/// Each iterator retuned by the `rows` iterator will be interpreted as
0 commit comments