diff --git a/postgres/src/lib.rs b/postgres/src/lib.rs index 801eeb9c..42b28f31 100644 --- a/postgres/src/lib.rs +++ b/postgres/src/lib.rs @@ -8,7 +8,7 @@ //! # fn main() -> Result<(), postgres::Error> { //! let mut client = Client::connect("host=localhost user=postgres", NoTls)?; //! -//! client.simple_query(" +//! client.batch_execute(" //! CREATE TABLE person ( //! id SERIAL PRIMARY KEY, //! name TEXT NOT NULL,