Browse Source

Update README.md

Volodymyr Tkach 2 years ago
parent
commit
338dac9650
1 changed files with 4 additions and 3 deletions
  1. 4 3
      README.md

+ 4 - 3
README.md

@@ -34,9 +34,10 @@ sqlite3:///data/database.sqlite
 ## Examples
 
 ```sh
-$ go run main.go 
+$ go run main.go
+[SQL] [func Open] (empty) (nil) 0.000 ms
 Insert some data to users table
-[SQL] [func Exec] INSERT INTO users (id, name) VALUES ($1, $2) ([5 John]) (nil) 0.005 ms
+[SQL] [func Exec] INSERT INTO users (id, name) VALUES ($1, $2) ([5 John]) (nil) 0.004 ms
 Select all rows from users table
 [SQL] [func Query] SELECT id, name FROM users ORDER BY id ASC (empty) (nil) 0.000 ms
 ID: 1, Name: Alice
@@ -46,7 +47,7 @@ Update inside transaction
 [SQL] [TX] [func Begin] (empty) (nil) 0.000 ms
 [SQL] [TX] [func Exec] UPDATE users SET name=$1 WHERE id=$2 ([John 1]) (nil) 0.000 ms
 [SQL] [TX] [func Exec] UPDATE users SET name=$1 WHERE id=$2 ([Alice 5]) (nil) 0.000 ms
-[SQL] [TX] [func Commit] (empty) (nil) 0.004 ms
+[SQL] [TX] [func Commit] (empty) (nil) 0.005 ms
 Select all rows from users again
 [SQL] [func Query] SELECT id, name FROM users ORDER BY id ASC (empty) (nil) 0.000 ms
 ID: 1, Name: John