mirror of https://github.com/mattn/go-sqlite3.git
commit
3dc190a017
|
@ -55,7 +55,6 @@ func main() {
|
||||||
rows.Scan(&id, &name)
|
rows.Scan(&id, &name)
|
||||||
fmt.Println(id, name)
|
fmt.Println(id, name)
|
||||||
}
|
}
|
||||||
rows.Close()
|
|
||||||
|
|
||||||
stmt, err = db.Prepare("select name from foo where id = ?")
|
stmt, err = db.Prepare("select name from foo where id = ?")
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
Loading…
Reference in New Issue