Skip to content
This repository has been archived by the owner on Sep 3, 2023. It is now read-only.

Commit

Permalink
Fixed prepared statement test
Browse files Browse the repository at this point in the history
  • Loading branch information
bobozaur committed Apr 2, 2022
1 parent 06ecb0d commit 676e638
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/query.rs
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,6 @@ impl PreparedStatement {
///
/// let mut exa_con = connect(&dsn, &schema, &user, &password).unwrap();
/// let prep_stmt = exa_con.prepare("INSERT INTO EXA_RUST_TEST VALUES(?, ?, ?)").unwrap();
/// println!("{:?}", &prep_stmt);
///
/// let json_data = json!(
/// [
Expand All @@ -373,8 +372,8 @@ impl PreparedStatement {
/// ["e", "f", 3],
/// ]
/// );
/// #
/// # prep_stmt.execute(json_data.as_array().unwrap()).unwrap();
///
/// prep_stmt.execute(json_data.as_array().unwrap()).unwrap();
/// #
/// # #[derive(Serialize, Clone)]
/// # #[serde(rename_all = "UPPERCASE")]
Expand Down

0 comments on commit 676e638

Please sign in to comment.