[−][src]Function dhb_postgres_heroku::smoke_test
pub fn smoke_test(client: &mut Client)
Try out a client by running through a set of postgres commands to create a table, insert a row, read the row, and drop the table.
Example:
let database_url = "postgres://username:password@host:port/db_name"; let mut client = dhb_postgres_heroku::get_client(&database_url); dhb_postgres_heroku::smoke_test(&mut client);