pub trait ExecuteCopyFromDsl<C>where
C: Connection<Backend = Pg>,{
type Error: Error;
// Required method
fn execute(self, conn: &mut C) -> Result<usize, Self::Error>;
}
Expand description
A custom execute function tailored for COPY FROM
statements
This trait can be used to execute COPY FROM
queries constructed
via [copy_from]