We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b90d3e4 commit d703ae5Copy full SHA for d703ae5
examples/basic/main.go
@@ -19,6 +19,11 @@ func main2() error {
19
return fmt.Errorf("failed to open database: %v", err)
20
}
21
defer conn.Close()
22
+
23
+ err = conn.Exec(`DROP TABLE if exists student`)
24
+ if err != nil {
25
+ return fmt.Errorf("failed to drop students table: %v", err)
26
+ }
27
28
err = conn.Exec(`CREATE TABLE student(name STRING, age INTEGER)`)
29
if err != nil {
0 commit comments