Use batch_execute in example
This commit is contained in:
parent
75a67fd06b
commit
a8fa2a42c0
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user