Skip to content

Commit

Permalink
Change some code
Browse files Browse the repository at this point in the history
  • Loading branch information
rikonaka committed Jul 6, 2023
1 parent d6e3537 commit ec6b582
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Expand Up @@ -22,6 +22,8 @@ async fn test_postgresql() {
println!("{}", check);
// Select all from table `info`
let rets = postgresql.execute("SELECT * FROM info").await.unwrap();
// let rets = postgresql.execute_fetch_all("SELECT * FROM info").await.unwrap();
// let rets = postgresql.execute_fetch_one("SELECT * FROM info").await.unwrap();
println!("{}", rets);
// Insert one row data into table `info`
let rets = postgresql.execute("INSERT INTO info (name, date) VALUES ('test3', '2022-01-01')").await.unwrap();
Expand Down

0 comments on commit ec6b582

Please sign in to comment.