Use batch_execute in example

This commit is contained in:
Steven Fackler 2019-12-24 12:43:23 -08:00
parent 75a67fd06b
commit a8fa2a42c0

View File

@ -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,