import ( "context" "github.com/cockroachdb/cockroach/client" ) // Create a new batch object batch := client.NewBatch() // Add SQL commands to the batch batch.Put("mytable", []byte("key1"), []byte("value1")) batch.DelRange("mytable", []byte("key2"), []byte("key3")) // Execute the batch asynchronously err := db.Run(ctx, batch) // Handle errors if err != nil { log.Fatal(err) }In this example, a new batch object is created using the `NewBatch` function. SQL commands are then added to the batch using the `Put` and `DelRange` methods. Finally, the batch is executed asynchronously using the `Run` method. Overall, the Batch package provides a convenient way to execute multiple SQL commands as a single atomic transaction.